diff --git a/tests/utils_tests/test_timesince.py b/tests/utils_tests/test_timesince.py index d54fce2be6..da6438eaaa 100644 --- a/tests/utils_tests/test_timesince.py +++ b/tests/utils_tests/test_timesince.py @@ -1,5 +1,9 @@ import datetime -import zoneinfo + +try: + import zoneinfo +except ImportError: + from backports import zoneinfo from django.test import TestCase from django.test.utils import override_settings, requires_tz_support