diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py
index ee8b246966..782b6a6c82 100644
a
|
b
|
class FTimeDeltaTests(TestCase):
|
1273 | 1273 | |
1274 | 1274 | cls.expnames = [e.name for e in Experiment.objects.all()] |
1275 | 1275 | |
| 1276 | def test_datetime_arithmetic_with_filter(self): |
| 1277 | list(Experiment.objects.annotate(days=F('start')-F('end')).filter(days__lte=11)) |
| 1278 | |
1276 | 1279 | def test_multiple_query_compilation(self): |
1277 | 1280 | # Ticket #21643 |
1278 | 1281 | queryset = Experiment.objects.filter(end__lt=F('start') + datetime.timedelta(hours=1)) |