Drop support for Python 3.10 (#13000)

This commit is contained in:
Adam Turner
2024-10-17 20:59:41 +01:00
committed by GitHub
parent 90db3e1b89
commit 541bf7bc67
23 changed files with 45 additions and 169 deletions

View File

@@ -95,7 +95,7 @@ def test_format_date():
def test_format_date_timezone():
dt = datetime.datetime(2016, 8, 7, 5, 11, 17, 0, tzinfo=datetime.timezone.utc)
dt = datetime.datetime(2016, 8, 7, 5, 11, 17, 0, tzinfo=datetime.UTC)
if time.localtime(dt.timestamp()).tm_gmtoff == 0:
raise pytest.skip('Local time zone is GMT') # NoQA: EM101