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):
|
def test_inspect_main_noargs(capsys):
|
||||||
"""inspect_main interface, without arguments"""
|
"""inspect_main interface, without arguments"""
|
||||||
with pytest.raises(SystemExit):
|
assert inspect_main([]) == 1
|
||||||
inspect_main([])
|
|
||||||
|
|
||||||
expected = (
|
expected = (
|
||||||
"Print out an inventory file.\n"
|
"Print out an inventory file.\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user