Changes between Version 3 and Version 4 of Ticket #35613, comment 1


Ignore:
Timestamp:
Jul 17, 2024, 4:40:39 PM (4 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35613, comment 1

    v3 v4  
    55{{{#!diff
    66diff --git a/tests/postgres_tests/test_aggregates.py b/tests/postgres_tests/test_aggregates.py
    7 index b72310bdf1..9c2ba53cba 100644
     7index bb694dae63..3bf7c2cafe 100644
    88--- a/tests/postgres_tests/test_aggregates.py
    99+++ 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):
    1111             [self.aggs[0]],
    1212         )
    1313
    14 +    def test_ticket_35613(self):
     14+    def test_foo_bar(self):
    1515+        import zoneinfo
    1616+        from django.utils import timezone
     
    1818+        from django.db.models import Q
    1919+
    20 +        with timezone.override(zoneinfo.ZoneInfo("America/Toronto")):
     20+        with (
     21+            self.settings(USE_TZ=True),
     22+            timezone.override(zoneinfo.ZoneInfo("America/Toronto")),
     23+        ):
    2124+            list(
    2225+                Room.objects.annotate(
Back to Top