Fix automsummary directive wrong processing for invalid modules.

This commit is contained in:
Álvaro Mondéjar
2020-05-14 17:06:12 +02:00
parent 1771bbb927
commit 1dcfc44ace
2 changed files with 2 additions and 3 deletions

View File

@@ -397,7 +397,7 @@ def test_autosummary_template(app):
confoverrides={'autosummary_generate': []})
def test_empty_autosummary_generate(app, status, warning):
app.build()
assert ("WARNING: autosummary: stub file not found 'autosummary_importfail'"
assert ("WARNING: autosummary: failed to import autosummary_importfail"
in warning.getvalue())