mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed several flake8 errors
This commit is contained in:
@@ -83,7 +83,7 @@ class OperationTestBase(MigrationTestBase):
|
||||
("pink", models.IntegerField(default=3)),
|
||||
("weight", models.FloatField()),
|
||||
],
|
||||
options = {
|
||||
options={
|
||||
"swappable": "TEST_SWAP_MODEL",
|
||||
},
|
||||
)]
|
||||
@@ -142,7 +142,6 @@ class OperationTests(OperationTestBase):
|
||||
both forwards and backwards.
|
||||
"""
|
||||
|
||||
|
||||
def test_create_model(self):
|
||||
"""
|
||||
Tests the CreateModel operation.
|
||||
@@ -1161,7 +1160,7 @@ class SwappableOperationTests(OperationTestBase):
|
||||
("id", models.AutoField(primary_key=True)),
|
||||
("pink", models.IntegerField(default=1)),
|
||||
],
|
||||
options = {
|
||||
options={
|
||||
"swappable": "TEST_SWAP_MODEL",
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user