Skip to content

Commit

Permalink
Fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
hukkin committed Sep 24, 2024
1 parent 2a66e57 commit a104e9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def is_negative(val):
assert env.int("AN_INTEGER", validate=is_positive) == 982
assert env.int("AN_INTEGER", validate=(is_positive, is_positive)) == 982

with pytest.raises(Exception):
with pytest.raises(Exception, match="AN_INTEGER"):
env.int("AN_INTEGER", validate=is_negative)
with pytest.raises(Exception):
with pytest.raises(Exception, match="AN_INTEGER"):
env.int("AN_INTEGER", validate=(is_positive, is_negative))


Expand Down

0 comments on commit a104e9d

Please sign in to comment.