Commit 447e20af authored by Stefan Behnel's avatar Stefan Behnel

Disable asyncio coroutine tests in Py3.4 as coroutines are not iterables but...

Disable asyncio coroutine tests in Py3.4 as coroutines are not iterables but Task() features this beautiful line of code:
        self._coro = iter(coro)  # Use the iterator just in case.
parent c24faef9
...@@ -18,6 +18,9 @@ import contextlib ...@@ -18,6 +18,9 @@ import contextlib
#asyncio = import_module("asyncio") #asyncio = import_module("asyncio")
try: try:
if sys.version_info[:2] == (3, 4):
# asnycio in Py3.4 does not support awaitable coroutines (requires iterators instead)
raise ImportError
import asyncio import asyncio
except ImportError: except ImportError:
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment