mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Drop support for Python 3.10 (#13000)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user