diff options
Diffstat (limited to 'tests/admin_widgets')
| -rw-r--r-- | tests/admin_widgets/tests.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/admin_widgets/tests.py b/tests/admin_widgets/tests.py index 56b5880727..ccc9add36e 100644 --- a/tests/admin_widgets/tests.py +++ b/tests/admin_widgets/tests.py @@ -54,8 +54,12 @@ class AdminFormfieldForDBFieldTests(TestCase): # Check that we got a field of the right type self.assertTrue( isinstance(widget, widgetclass), - "Wrong widget for %s.%s: expected %s, got %s" % - (model.__class__.__name__, fieldname, widgetclass, type(widget)) + "Wrong widget for %s.%s: expected %s, got %s" % ( + model.__class__.__name__, + fieldname, + widgetclass, + type(widget), + ) ) # Return the formfield so that other tests can continue |
