remove pytz

This commit is contained in:
Wong Chun Hong 2023-08-30 01:48:29 +01:00
parent ae79c0fa72
commit 4edd3cc368
3 changed files with 2 additions and 4 deletions

View File

@ -1,2 +1,2 @@
[settings]
known_third_party = aniso8601,graphql,graphql_relay,promise,pytest,pytz,pyutils,setuptools,snapshottest,sphinx_graphene_theme
known_third_party = aniso8601,graphql,graphql_relay,promise,pytest,pyutils,setuptools,snapshottest,sphinx_graphene_theme

View File

@ -1,6 +1,5 @@
import datetime
import pytz
from graphql import GraphQLError
import pytest
@ -29,7 +28,7 @@ schema = Schema(query=Query)
@pytest.fixture
def sample_datetime():
utc_datetime = datetime.datetime(2019, 5, 25, 5, 30, 15, 10, pytz.utc)
utc_datetime = datetime.datetime(2019, 5, 25, 5, 30, 15, 10, datetime.timezone.utc)
return utc_datetime

View File

@ -56,7 +56,6 @@ tests_require = [
"coveralls",
"promise",
"mock",
"pytz",
"iso8601",
]