Skip to content

Commit 9d8ef83

Browse files
committed
Fix test_inspect_main_noargs
1 parent ddf8a8e commit 9d8ef83

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_ext_intersphinx.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,7 @@ def test_getsafeurl_unauthed():
478478

479479
def test_inspect_main_noargs(capsys):
480480
"""inspect_main interface, without arguments"""
481-
with pytest.raises(SystemExit):
482-
inspect_main([])
481+
assert inspect_main([]) == 1
483482

484483
expected = (
485484
"Print out an inventory file.\n"

0 commit comments

Comments
 (0)