1
0
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:
Tim Graham 2021-10-26 01:22:20 -04:00 committed by GitHub
parent 0314593fe8
commit cbd9f8531d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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