implementing PR comments

This commit is contained in:
Gerald Baier
2017-01-12 08:52:32 +01:00
parent 2402fd7ebe
commit d9ae4ed81e
2 changed files with 2 additions and 7 deletions

View File

@@ -410,8 +410,8 @@ Note: By default this script will not overwrite already created files.""")
module_path = rootpath,
append_syspath = opts.append_syspath,
)
enabled_exts = {'ext_'+ext: getattr(opts, 'ext_'+ext)
for ext in EXTENSIONS if getattr(opts, 'ext_'+ext)}
enabled_exts = {'ext_' + ext: getattr(opts, 'ext_' + ext)
for ext in EXTENSIONS if getattr(opts, 'ext_' + ext)}
d.update(enabled_exts)
if isinstance(opts.header, binary_type):

View File

@@ -158,8 +158,3 @@ def test_extension_parsed(make_app, apidoc):
with open(outdir / 'conf.py') as f:
rst = f.read()
assert "sphinx.ext.mathjax" in rst
app = make_app('text', srcdir=outdir)
app.build()
print(app._status.getvalue())
print(app._warning.getvalue())