Skip to content

Commit 574a024

Browse files
committed
tests: fix expected output to handle Python 3.14
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 5156c8c commit 574a024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_operator_overloading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,4 @@ def test_overriding_eq_reset_hash():
158158
def test_return_set_of_unhashable():
159159
with pytest.raises(TypeError) as excinfo:
160160
m.get_unhashable_HashMe_set()
161-
assert str(excinfo.value.__cause__).startswith("unhashable type:")
161+
assert "unhashable type" in str(excinfo.value.__cause__)

0 commit comments

Comments
 (0)