Skip to content

Commit 3378679

Browse files
committed
Merge pull request #12 from graphql-python/schema-parser
Schema parser & printer Closes #11
2 parents 55dcd92 + b93cefd commit 3378679

23 files changed

+2186
-202
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ python:
88
- pypy
99
cache: pip
1010
install:
11-
- pip install --cache-dir $HOME/.cache/pip pytest-cov coveralls flake8 import-order gevent==1.1b5
11+
- pip install --cache-dir $HOME/.cache/pip pytest-cov coveralls flake8 import-order gevent==1.1b5 six>=1.10.0
1212
- pip install --cache-dir $HOME/.cache/pip pytest>=2.7.3 --upgrade
1313
- pip install -e .
1414
script:

graphql/core/execution/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def complete_value(self, ctx, return_type, field_asts, info, result):
272272

273273
if not runtime_type.is_type_of(result, info):
274274
raise GraphQLError(
275-
u'Expected value of type "{}" but got {}.'.format(return_type, result),
275+
u'Expected value of type "{}" but got {}.'.format(return_type, type(result).__name__),
276276
field_asts
277277
)
278278

0 commit comments

Comments
 (0)