mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #21298 -- Fixed E301 pep8 warnings
This commit is contained in:
@@ -347,6 +347,7 @@ class OperationTests(MigrationTestBase):
|
||||
with self.assertRaises(NotImplementedError):
|
||||
operation.database_backwards("test_runpython", None, new_state, project_state)
|
||||
# Now test we can do it with a callable
|
||||
|
||||
def inner_method(models, schema_editor):
|
||||
Pony = models.get_model("test_runpython", "Pony")
|
||||
Pony.objects.create(pink=1, weight=3.55)
|
||||
|
||||
Reference in New Issue
Block a user