Fixed flake8 error.
This commit is contained in:
parent
986bd41f8a
commit
5971630de9
|
@ -777,14 +777,12 @@ class M2MNaturalKeyFixtureTests(TestCase):
|
||||||
This test tests the circularity with explicit natural_key.dependencies
|
This test tests the circularity with explicit natural_key.dependencies
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
sorted_deps = sort_dependencies(
|
sorted_deps = sort_dependencies([
|
||||||
[('fixtures_regress', [
|
('fixtures_regress', [
|
||||||
M2MComplexCircular2A,
|
M2MComplexCircular2A,
|
||||||
M2MComplexCircular2B,
|
M2MComplexCircular2B,
|
||||||
M2MCircular2ThroughAB]
|
M2MCircular2ThroughAB])
|
||||||
)
|
])
|
||||||
]
|
|
||||||
)
|
|
||||||
except CommandError:
|
except CommandError:
|
||||||
self.fail("Serialization dependency solving algorithm isn't "
|
self.fail("Serialization dependency solving algorithm isn't "
|
||||||
"capable of handling circular M2M setups with "
|
"capable of handling circular M2M setups with "
|
||||||
|
|
Loading…
Reference in New Issue