Skip to content

Commit

Permalink
Fix incorrect use of pytest.raises(..., message=...)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Jan 7, 2019
1 parent d9f0ae1 commit 53cfcd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def test_eazysvn_help(capsys):


def test_eazysvn_unknown_command():
with pytest.raises(SystemExit, message="Unknown command: blargh."):
with pytest.raises(SystemExit, match="Unknown command: blargh."):
es.eazysvn(['eazysvn', 'blargh'])


Expand Down

0 comments on commit 53cfcd8

Please sign in to comment.