summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_map.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_map.py b/tests/test_map.py
index 8d629f8..0b464cf 100644
--- a/tests/test_map.py
+++ b/tests/test_map.py
@@ -1294,7 +1294,7 @@ class BaseMapTest:
self.assertTrue(isinstance(uh, self.Map))
self.assertEqual(h, uh)
- with self.assertRaisesRegex(TypeError, "can't pickle"):
+ with self.assertRaisesRegex(TypeError, "can('t|not) pickle"):
pickle.dumps(h.mutate())
@unittest.skipIf(sys.version_info < (3, 7, 0), "__class_getitem__ is not available")