Changes between Version 3 and Version 4 of Ticket #35613, comment 1
- Timestamp:
- Jul 17, 2024, 4:40:39 PM (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35613, comment 1
v3 v4 5 5 {{{#!diff 6 6 diff --git a/tests/postgres_tests/test_aggregates.py b/tests/postgres_tests/test_aggregates.py 7 index b 72310bdf1..9c2ba53cba1006447 index bb694dae63..3bf7c2cafe 100644 8 8 --- a/tests/postgres_tests/test_aggregates.py 9 9 +++ b/tests/postgres_tests/test_aggregates.py 10 @@ - 654,6 +654,24@@ def test_string_agg_filter_in_subquery_with_exclude(self):10 @@ -704,6 +704,26 @@ def test_string_agg_filter_in_subquery_with_exclude(self): 11 11 [self.aggs[0]], 12 12 ) 13 13 14 + def test_ ticket_35613(self):14 + def test_foo_bar(self): 15 15 + import zoneinfo 16 16 + from django.utils import timezone … … 18 18 + from django.db.models import Q 19 19 + 20 + with timezone.override(zoneinfo.ZoneInfo("America/Toronto")): 20 + with ( 21 + self.settings(USE_TZ=True), 22 + timezone.override(zoneinfo.ZoneInfo("America/Toronto")), 23 + ): 21 24 + list( 22 25 + Room.objects.annotate(