Skip to content

Commit

Permalink
Fix indentation in test assertion
Browse files Browse the repository at this point in the history
Corrected the indentation of the assertion checking the exit code in
`tests/test_run.py`. This ensures the test correctly validates the exception
code raised.
  • Loading branch information
douglatornell committed Nov 27, 2024
1 parent eae10bc commit 402f7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -2878,7 +2878,7 @@ def test_unknown_system(self, caplog, monkeypatch):
cpu_arch="",
)

assert exc.value.code == 2
assert exc.value.code == 2
assert caplog.records[0].levelname == "ERROR"
assert caplog.records[0].message == "unknown system: mythical"

Expand Down

0 comments on commit 402f7ba

Please sign in to comment.