From cbd9f8531d70a0f975cf57595f3b5684d16c4b3c Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 26 Oct 2021 01:22:20 -0400 Subject: [PATCH] Removed duplicated lines in test_in_lookup_allows_F_expressions_and_expressions_for_datetimes(). --- tests/expressions/tests.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py index 30a3f0ad61..53448ed1d9 100644 --- a/tests/expressions/tests.py +++ b/tests/expressions/tests.py @@ -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])