Skip to content

Commit a34e6e1

Browse files
committed
To should run tests_py35
Also re-arrange some more stuff.
1 parent 232fece commit a34e6e1

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

graphql/core/execution/parallel_execution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
from graphql.core.error import GraphQLError, format_error
77
from graphql.core.execution import ExecutionContext, ResolveInfo, Undefined, collect_fields, default_resolve_fn, \
88
get_argument_values, get_field_def, get_operation_root_type
9+
from graphql.core.language import ast
910
from graphql.core.type import GraphQLEnumType, GraphQLInterfaceType, GraphQLList, GraphQLNonNull, GraphQLObjectType, \
1011
GraphQLScalarType, GraphQLUnionType
1112
from graphql.core.utils import is_nullish
12-
from graphql.core.language import ast
1313

1414

1515
class Executor(object):

tests_py35/__init__.py

Whitespace-only changes.

tests_py35/core_execution/test_asyncio_executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# flake8: noqa
22

3+
import asyncio
4+
import functools
35
from graphql.core.execution.parallel_execution import Executor
46
from graphql.core.execution.middlewares.AsyncioExecutionMiddleware import AsyncioExecutionMiddleware
57
from graphql.core.type import (
@@ -8,8 +10,6 @@
810
GraphQLField,
911
GraphQLString
1012
)
11-
import functools
12-
import asyncio
1313

1414

1515
def run_until_complete(fun):

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ envlist = flake8,import-order,py27,py33,py34,py35,pypy,docs
44
[testenv]
55
deps =
66
pytest>=2.7.2
7-
commands = py.test tests
7+
commands =
8+
py{27,33,34}: py.test tests
9+
py35: py.test tests tests_py35
10+
811

912
[testenv:flake8]
1013
deps = flake8

0 commit comments

Comments
 (0)