summaryrefslogtreecommitdiff
path: root/tests/test_map.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_map.py')
-rw-r--r--tests/test_map.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_map.py b/tests/test_map.py
index 66d07e7..a99b856 100644
--- a/tests/test_map.py
+++ b/tests/test_map.py
@@ -1148,6 +1148,9 @@ class BaseMapTest:
with self.assertRaisesRegex(ValueError, 'has been finished'):
mm['a'] = 'b'
+ with self.assertRaisesRegex(ValueError, 'has been finished'):
+ mm.update(a='b')
+
def test_map_mut_13(self):
key1 = HashKey(123, 'aaa')
key2 = HashKey(123, 'aaa')