diff options
Diffstat (limited to 'tests/test_map.py')
-rw-r--r-- | tests/test_map.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_map.py b/tests/test_map.py index 69684e8..d7ee885 100644 --- a/tests/test_map.py +++ b/tests/test_map.py @@ -1141,16 +1141,16 @@ class BaseMapTest: mm = m.mutate() mm.finish() - with self.assertRaisesRegex(ValueError, 'has been finalized'): + with self.assertRaisesRegex(ValueError, 'has been finished'): mm.pop('a') - with self.assertRaisesRegex(ValueError, 'has been finalized'): + with self.assertRaisesRegex(ValueError, 'has been finished'): del mm['a'] - with self.assertRaisesRegex(ValueError, 'has been finalized'): + with self.assertRaisesRegex(ValueError, 'has been finished'): mm.set('a', 'b') - with self.assertRaisesRegex(ValueError, 'has been finalized'): + with self.assertRaisesRegex(ValueError, 'has been finished'): mm['a'] = 'b' def test_map_mut_13(self): |