diff options
Diffstat (limited to 'tests/custom_columns/tests.py')
| -rw-r--r-- | tests/custom_columns/tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/custom_columns/tests.py b/tests/custom_columns/tests.py index 155279297f..aae3712e53 100644 --- a/tests/custom_columns/tests.py +++ b/tests/custom_columns/tests.py @@ -42,7 +42,8 @@ class CustomColumnsTests(TestCase): ) def test_field_error(self): - self.assertRaises(FieldError, + self.assertRaises( + FieldError, lambda: Author.objects.filter(firstname__exact="John") ) |
