mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed E225 pep8 warnings.
This commit is contained in:
@@ -193,7 +193,7 @@ class ValidationTestCase(TestCase):
|
||||
def test_nonexistant_field_on_inline(self):
|
||||
class CityInline(admin.TabularInline):
|
||||
model = City
|
||||
readonly_fields=['i_dont_exist'] # Missing attribute
|
||||
readonly_fields = ['i_dont_exist'] # Missing attribute
|
||||
|
||||
self.assertRaisesMessage(ImproperlyConfigured,
|
||||
str_prefix("CityInline.readonly_fields[0], %(_)s'i_dont_exist' is not a callable "
|
||||
|
||||
Reference in New Issue
Block a user