Skip to content

Commit

Permalink
Test: Fix test_config error raised by new ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
danigm committed Jul 3, 2024
1 parent b35ccbb commit 78608d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_custom_config(capsys):
def test_broken_config(capsys):
with pytest.raises(SystemExit) as pytest_wrapped_e:
Config(TEST_BROKEN)
assert pytest_wrapped_e.type == SystemExit
assert pytest_wrapped_e.type is SystemExit
assert pytest_wrapped_e.value.code == 4


Expand Down

0 comments on commit 78608d6

Please sign in to comment.