diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_map.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_map.py b/tests/test_map.py index d7ee885..959e00c 100644 --- a/tests/test_map.py +++ b/tests/test_map.py @@ -1254,6 +1254,9 @@ class BaseMapTest: self.assertTrue(isinstance(uh, self.Map)) self.assertEqual(h, uh) + with self.assertRaisesRegex(TypeError, "can't pickle"): + pickle.dumps(h.mutate()) + class PyMapTest(BaseMapTest, unittest.TestCase): |