Skip to content

Commit

Permalink
Fix test_inspect_main_noargs
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Aug 16, 2023
1 parent ddf8a8e commit 9d8ef83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_ext_intersphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9d8ef83

Please sign in to comment.