summaryrefslogtreecommitdiff
path: root/tests/fixtures_regress
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-05-12 07:09:53 -0400
committerTim Graham <timograham@gmail.com>2014-05-12 07:09:53 -0400
commit5971630de910b3e6f8210c5d28541b6c4af78f04 (patch)
tree5a86a359460d378263a3e894621af0213243e360 /tests/fixtures_regress
parent986bd41f8a6e7a667380c59d347edbdf61b7fd02 (diff)
downloaddjango-5971630de910b3e6f8210c5d28541b6c4af78f04.tar.gz
Fixed flake8 error.
Diffstat (limited to 'tests/fixtures_regress')
-rw-r--r--tests/fixtures_regress/tests.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/fixtures_regress/tests.py b/tests/fixtures_regress/tests.py
index c8a2d7bbea..613cb898c5 100644
--- a/tests/fixtures_regress/tests.py
+++ b/tests/fixtures_regress/tests.py
@@ -777,14 +777,12 @@ class M2MNaturalKeyFixtureTests(TestCase):
This test tests the circularity with explicit natural_key.dependencies
"""
try:
- sorted_deps = sort_dependencies(
- [('fixtures_regress', [
+ sorted_deps = sort_dependencies([
+ ('fixtures_regress', [
M2MComplexCircular2A,
M2MComplexCircular2B,
- M2MCircular2ThroughAB]
- )
- ]
- )
+ M2MCircular2ThroughAB])
+ ])
except CommandError:
self.fail("Serialization dependency solving algorithm isn't "
"capable of handling circular M2M setups with "