From c9245a28428105f1710978eee53a2987488365a1 Mon Sep 17 00:00:00 2001 From: Stefan Behnel <stefan_ml@behnel.de> Date: Fri, 29 May 2015 18:48:58 +0200 Subject: [PATCH] disable asyncio coroutine test in Py3.4(.3) due to an annoying type check: Py3.5 has a fix and later 3.4 versions might, too --- tests/run/test_coroutines_pep492.pyx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/run/test_coroutines_pep492.pyx b/tests/run/test_coroutines_pep492.pyx index ea7ceb74c..c7f0394e9 100644 --- a/tests/run/test_coroutines_pep492.pyx +++ b/tests/run/test_coroutines_pep492.pyx @@ -1048,10 +1048,13 @@ class SysSetCoroWrapperTest(unittest.TestCase): if True or sys.version_info < (3, 5): SysSetCoroWrapperTest = None -try: - import asyncio -except ImportError: +if sys.version_info < (3, 5): # (3, 4, 4) CoroAsyncIOCompatTest = None +else: + try: + import asyncio + except ImportError: + CoroAsyncIOCompatTest = None if __name__=="__main__": unittest.main() -- 2.30.9