Added comment to test_query_clone indicating lack of assert is intentional.

This commit is contained in:
Michael Manfre 2015-06-05 00:51:49 -04:00
parent ed63df3fc2
commit 6cc2113204
1 changed files with 2 additions and 1 deletions

View File

@ -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)):