Skip to content

Commit f31e7d9

Browse files
committed
Skip gevent test if not available
1 parent b4758b1 commit f31e7d9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

graphql/execution/tests/test_executor_gevent.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
"""
2+
isort:skip_file
3+
"""
14
# flake8: noqa
2-
import gevent
5+
import pytest
6+
gevent = pytest.importorskip("gevent")
37

48
from graphql.error import format_error
59
from graphql.execution import execute

0 commit comments

Comments
 (0)