diff options
author | Yury Selivanov <yury@magic.io> | 2018-11-20 13:45:42 -0500 |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2018-11-20 14:25:07 -0500 |
commit | b72bfe4b2ca5af1a031662381dd0740d396a026c (patch) | |
tree | 1b0bdf4511db225ce8a41327812abf331f767845 /tests | |
parent | e1de4d45d365f64950eef7587eb688d1a3caff0f (diff) | |
download | immutables-b72bfe4b2ca5af1a031662381dd0740d396a026c.tar.gz immutables-b72bfe4b2ca5af1a031662381dd0740d396a026c.zip |
Fix error message: "has been finalized" -> "has been finished"
Diffstat (limited to 'tests')
-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): |