mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix automsummary directive wrong processing for invalid modules.
This commit is contained in:
@@ -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())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user