diff options
Diffstat (limited to 'tests/properties')
-rw-r--r-- | tests/properties/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/properties/tests.py b/tests/properties/tests.py index a50a825953..9ba28c0d0d 100644 --- a/tests/properties/tests.py +++ b/tests/properties/tests.py @@ -18,7 +18,7 @@ class PropertyTests(TestCase): setattr(self.a, 'full_name', 'Paul McCartney') # And cannot be used to initialize the class. - with self.assertRaisesMessage(TypeError, "'full_name' is an invalid keyword argument"): + with self.assertRaisesMessage(TypeError, "Person() got an unexpected keyword argument 'full_name'"): Person(full_name='Paul McCartney') # But "full_name_2" has, and it can be used to initialize the class. |