summaryrefslogtreecommitdiff
path: root/tests/test_map.py
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2019-11-02 17:56:24 -0300
committerYury Selivanov <yury@edgedb.com>2019-11-02 16:56:24 -0400
commit2b52677fdde34b1c89bdf4411ef95bd1ed0f343d (patch)
tree3bd3b7b06c8e5e57b7f757c8689247dfe7e9e0b1 /tests/test_map.py
parent51bc6b0a8da1b9c38151cbce89251d4677188e9f (diff)
downloadimmutables-2b52677fdde34b1c89bdf4411ef95bd1ed0f343d.tar.gz
immutables-2b52677fdde34b1c89bdf4411ef95bd1ed0f343d.zip
Add Python 3.8 support (#16)
Fix #15
Diffstat (limited to 'tests/test_map.py')
-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")