Skip to content

Commit 9d94651

Browse files
committed
fix tests
1 parent 34595aa commit 9d94651

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
tornado>=5.0
2-
pytest-tornasync
2+
pytest-tornasync; python_version >= '3.4'

tests/conftest.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
collect_ignore = []
44
if sys.version_info < (3, 4):
5-
collect_ignore += ["integration/test_asyncio.py", "integration/test_asyncio_coroutine.py"]
5+
collect_ignore += ["integration/test_asyncio.py",
6+
"integration/test_asyncio_coroutine.py",
7+
"integration/test_tornado.py"]
68
elif sys.version_info < (3, 6):
7-
collect_ignore.append("integration/test_asyncio.py")
9+
collect_ignore.append("integration/test_asyncio.py")

tests/integration/test_tornado.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@pytest.mark.integration
1414
@pytest.mark.skipif(sys.version_info < (3, 6),
1515
reason="requires python3.6 or higher")
16-
async def test_tornado_connect():
16+
async def test_tornado_connect(io_loop):
1717
"""
1818
Test the flow for 3.6 and up, async generators are
1919
not supported in 3.5.

0 commit comments

Comments
 (0)