1
0
mirror of https://github.com/django/django.git synced 2024-12-26 19:16:11 +00:00

[4.2.x] Refs #34483 -- Fixed utils_tests.test_timesince crash on Python 3.8.

This commit is contained in:
Mariusz Felisiak 2023-04-14 06:10:31 +02:00 committed by GitHub
parent a3c14ea61b
commit cd464fbc3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,9 @@
import datetime
try:
import zoneinfo
except ImportError:
from backports import zoneinfo
from django.test import TestCase
from django.test.utils import override_settings, requires_tz_support