mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Removed duplicated lines in test_in_lookup_allows_F_expressions_and_expressions_for_datetimes().
This commit is contained in:
parent
0314593fe8
commit
cbd9f8531d
@ -971,11 +971,6 @@ class IterableLookupInnerExpressionsTests(TestCase):
|
||||
experiment=experiment_2,
|
||||
result_time=datetime.datetime(2016, 1, 8, 5, 0, 0),
|
||||
)
|
||||
|
||||
within_experiment_time = [F('experiment__start'), F('experiment__end')]
|
||||
queryset = Result.objects.filter(result_time__range=within_experiment_time)
|
||||
self.assertSequenceEqual(queryset, [r1])
|
||||
|
||||
within_experiment_time = [F('experiment__start'), F('experiment__end')]
|
||||
queryset = Result.objects.filter(result_time__range=within_experiment_time)
|
||||
self.assertSequenceEqual(queryset, [r1])
|
||||
|
Loading…
Reference in New Issue
Block a user