mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-16 19:12:21 +03:00
remove pytz
This commit is contained in:
parent
ae79c0fa72
commit
4edd3cc368
|
@ -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
|
||||
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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user