diff options
Diffstat (limited to 'tests/test_client_regress')
| -rw-r--r-- | tests/test_client_regress/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_client_regress/tests.py b/tests/test_client_regress/tests.py index b35bad43a2..00e1b01766 100644 --- a/tests/test_client_regress/tests.py +++ b/tests/test_client_regress/tests.py @@ -631,7 +631,7 @@ class AssertFormErrorTests(SimpleTestCase): except AssertionError as e: self.assertIn( "The form 'form' in context 0 does not contain the non-field " - "error 'Some error.' (actual errors: )", + "error 'Some error.' (actual errors: none)", str(e) ) try: @@ -639,7 +639,7 @@ class AssertFormErrorTests(SimpleTestCase): except AssertionError as e: self.assertIn( "abc: The form 'form' in context 0 does not contain the " - "non-field error 'Some error.' (actual errors: )", + "non-field error 'Some error.' (actual errors: none)", str(e) ) |
