15
0
forked from pool/python-bidict
Files
python-bidict/support-python-312.patch
2024-02-06 05:39:30 +00:00

14 lines
712 B
Diff

Index: bidict-0.22.1/tests/test_class_relationships.py
===================================================================
--- bidict-0.22.1.orig/tests/test_class_relationships.py
+++ bidict-0.22.1/tests/test_class_relationships.py
@@ -123,7 +123,7 @@ def test_issubclass_internal() -> None:
def test_abstract_bimap_init_fails() -> None:
"""Instantiating `AbstractBimap` should fail with expected TypeError."""
- excmatch = r"Can't instantiate abstract class AbstractBimap with abstract methods .* inverse"
+ excmatch = r"Can't instantiate abstract class AbstractBimap with.*abstract methods .*inverse"
with pytest.raises(TypeError, match=excmatch):
AbstractBimap() # type: ignore