Use the canonical name of the test timezone

Closes #14170
This commit is contained in:
Nicolas Évrard
2025-08-18 11:35:25 +02:00
parent 8d4b38b339
commit 65c93a338e
+1 -1
View File
@@ -720,7 +720,7 @@ class IrCronTestCase(TestCase):
def setUp(self):
server_tz = timezone.SERVER
timezone.SERVER = timezone.ZoneInfo('Canada/Eastern')
timezone.SERVER = timezone.ZoneInfo('America/Toronto')
self.addCleanup(setattr, timezone, 'SERVER', server_tz)
def _get_cron(self):