mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 04:34:13 +03:00
chore: remove pytz (#1520)
This commit is contained in:
parent
93cb33d359
commit
baaef0d21a
|
@ -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
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import datetime
|
||||
|
||||
import pytz
|
||||
from graphql import GraphQLError
|
||||
|
||||
from pytest import fixture
|
||||
|
@ -30,7 +29,7 @@ schema = Schema(query=Query)
|
|||
|
||||
@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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user