Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming committed Jan 14, 2025
1 parent f34e683 commit 5dfc9c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_toml_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ def test_invalid_decode(invalid_decode_case):

def test_invalid_encode(invalid_encode_case):
with open(invalid_encode_case, encoding="utf-8") as f:
with pytest.raises(TOMLKitError, UnicodeDecodeError):
with pytest.raises((TOMLKitError, UnicodeDecodeError)):
load(f)

0 comments on commit 5dfc9c1

Please sign in to comment.