Skip to content

Commit 8e210f9

Browse files
committed
Improved typing requirements
1 parent 52d7753 commit 8e210f9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

graphql/backend/tests/test_core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
from ..base import GraphQLBackend, GraphQLDocument
99
from ..core import GraphQLCoreBackend
1010
from .schema import schema
11-
from typing import Any
11+
12+
if False:
13+
from typing import Any
1214

1315

1416
def test_core_backend():

graphql/backend/tests/test_decider.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
from ..decider import GraphQLDeciderBackend
1212

1313
from .schema import schema
14-
from typing import Any
14+
15+
if False:
16+
from typing import Any
1517

1618

1719
class FakeBackend(GraphQLBackend):

0 commit comments

Comments
 (0)