summaryrefslogtreecommitdiff
path: root/tests/aggregation_regress/tests.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-04-03 20:37:32 -0400
committerTim Graham <timograham@gmail.com>2016-04-04 17:14:26 -0400
commit2cd2d188516475ddf256e6267cd82c495fb5c430 (patch)
tree1a7c3c167c1576923c7c4f5544495face5bd7327 /tests/aggregation_regress/tests.py
parentd356bb653f4d90ae9809e5a051791ded39010c38 (diff)
Fixed W503 flake8 warnings.
Diffstat (limited to 'tests/aggregation_regress/tests.py')
-rw-r--r--tests/aggregation_regress/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/aggregation_regress/tests.py b/tests/aggregation_regress/tests.py
index f92459a990..6d6ca3480f 100644
--- a/tests/aggregation_regress/tests.py
+++ b/tests/aggregation_regress/tests.py
@@ -983,8 +983,8 @@ class AggregationTests(TestCase):
Book.objects
.annotate(n_authors=Count("authors"))
.filter(
- Q(name="The Definitive Guide to Django: Web Development Done Right")
- | (Q(name="Artificial Intelligence: A Modern Approach") & Q(n_authors=3))
+ Q(name="The Definitive Guide to Django: Web Development Done Right") |
+ (Q(name="Artificial Intelligence: A Modern Approach") & Q(n_authors=3))
)
)
self.assertQuerysetEqual(