Skip to content

Commit efeabef

Browse files
akbakb
authored andcommitted
Don't specify particular exception
1 parent 2d3faa9 commit efeabef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ def test_raises_on_nonexistent_option(option, runner):
4444
in_stream = "a.b.c\n"
4545

4646
result = runner.invoke(mario.cli.cli, args, input=in_stream)
47-
48-
assert_exception_equal(result.exception, SystemExit(2))
47+
assert result.exception
4948

5049

5150
def test_eval_main(capsys):

0 commit comments

Comments
 (0)