Skip to content

Commit 5dfc9c1

Browse files
committed
fix: tests
Signed-off-by: Frost Ming <[email protected]>
1 parent f34e683 commit 5dfc9c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_toml_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ def test_invalid_decode(invalid_decode_case):
5858

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

0 commit comments

Comments
 (0)