From 6cc2113204a83aa539782e7db8b1af06bfe3c653 Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Fri, 5 Jun 2015 00:51:49 -0400 Subject: [PATCH] Added comment to test_query_clone indicating lack of assert is intentional. --- tests/expressions/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py index 3e26be6d0b..013498a44d 100644 --- a/tests/expressions/tests.py +++ b/tests/expressions/tests.py @@ -696,11 +696,12 @@ class FTimeDeltaTests(TestCase): self.assertEqual(q1, q2) def test_query_clone(self): - # Ticket #21643 + # Ticket #21643 - Crash when compiling query more than once qs = Experiment.objects.filter(end__lt=F('start') + datetime.timedelta(hours=1)) qs2 = qs.all() list(qs) list(qs2) + # Intentionally no assert def test_delta_add(self): for i in range(len(self.deltas)):