We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5156c8c commit 574a024Copy full SHA for 574a024
tests/test_operator_overloading.py
@@ -158,4 +158,4 @@ def test_overriding_eq_reset_hash():
158
def test_return_set_of_unhashable():
159
with pytest.raises(TypeError) as excinfo:
160
m.get_unhashable_HashMe_set()
161
- assert str(excinfo.value.__cause__).startswith("unhashable type:")
+ assert "unhashable type" in str(excinfo.value.__cause__)
0 commit comments