mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix `test_inspect_main_noargs
`
This commit is contained in:
@@ -478,8 +478,7 @@ def test_getsafeurl_unauthed():
|
||||
|
||||
def test_inspect_main_noargs(capsys):
|
||||
"""inspect_main interface, without arguments"""
|
||||
with pytest.raises(SystemExit):
|
||||
inspect_main([])
|
||||
assert inspect_main([]) == 1
|
||||
|
||||
expected = (
|
||||
"Print out an inventory file.\n"
|
||||
|
Reference in New Issue
Block a user