23 lines
843 B
Diff
23 lines
843 B
Diff
From b4aee5b83240e3d14899f7353cb4832f13775be6 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= <thrnciar@redhat.com>
|
|
Date: Mon, 3 Nov 2025 15:33:13 +0100
|
|
Subject: [PATCH] Adjust test for python3.14
|
|
|
|
---
|
|
tests/test_operator_overloading.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/test_operator_overloading.py b/tests/test_operator_overloading.py
|
|
index b676090..2135d9e 100644
|
|
--- a/tests/test_operator_overloading.py
|
|
+++ b/tests/test_operator_overloading.py
|
|
@@ -150,4 +150,4 @@ def test_overriding_eq_reset_hash():
|
|
def test_return_set_of_unhashable():
|
|
with pytest.raises(TypeError) as excinfo:
|
|
m.get_unhashable_HashMe_set()
|
|
- assert str(excinfo.value.__cause__).startswith("unhashable type:")
|
|
+ assert "unhashable type" in str(excinfo.value.__cause__)
|
|
--
|
|
2.51.1
|
|
|