summaryrefslogtreecommitdiff
path: root/tests/basic/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/tests.py')
-rw-r--r--tests/basic/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/tests.py b/tests/basic/tests.py
index 76d92a7591..d82fc54675 100644
--- a/tests/basic/tests.py
+++ b/tests/basic/tests.py
@@ -65,7 +65,7 @@ class ModelInstanceCreationTests(TestCase):
self.assertEqual(a.headline, 'Fourth article')
def test_cannot_create_instance_with_invalid_kwargs(self):
- with self.assertRaisesMessage(TypeError, "'foo' is an invalid keyword argument for this function"):
+ with self.assertRaisesMessage(TypeError, "Article() got an unexpected keyword argument 'foo'"):
Article(
id=None,
headline='Some headline',