mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #21288 -- Fixed E126 pep8 warnings
This commit is contained in:
parent
a3690168cb
commit
b289fcf1bf
80 changed files with 646 additions and 634 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue