diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-01-18 09:46:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 09:46:01 +0100 |
commit | 3bbe22dafcc69c5ffa79707f5a74eb1faf466e12 (patch) | |
tree | 4bec6a7016732be33f2e1cddd80c18478cb2dee9 /tests/timezones | |
parent | d54717118360e8679aa2bd0c5a1625f3e84712ba (diff) | |
download | django-3bbe22dafcc69c5ffa79707f5a74eb1faf466e12.tar.gz |
Fixed #34233 -- Dropped support for Python 3.8 and 3.9.
Diffstat (limited to 'tests/timezones')
-rw-r--r-- | tests/timezones/tests.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/timezones/tests.py b/tests/timezones/tests.py index 56784db207..e3e2ea431e 100644 --- a/tests/timezones/tests.py +++ b/tests/timezones/tests.py @@ -1,15 +1,11 @@ import datetime import re import sys +import zoneinfo from contextlib import contextmanager from unittest import SkipTest, skipIf from xml.dom.minidom import parseString -try: - import zoneinfo -except ImportError: - from backports import zoneinfo - from django.contrib.auth.models import User from django.core import serializers from django.db import connection |