From b72bfe4b2ca5af1a031662381dd0740d396a026c Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Tue, 20 Nov 2018 13:45:42 -0500 Subject: Fix error message: "has been finalized" -> "has been finished" --- tests/test_map.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') 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): -- cgit v1.2.3