4 # Whether "import asyncio" works
5 has_asyncio
= (sys
.version_info
[0] == 3 and sys
.version_info
[1] >= 4)
7 # Whether the async and await keywords work
8 has_async_await
= (sys
.version_info
[0] == 3 and sys
.version_info
[1] >= 5)
11 print("conftest.py", has_asyncio
, has_async_await
)
17 collect_ignore
.append("tests/test_coroutine_cached_property.py")
19 if not has_async_await
:
20 collect_ignore
.append("tests/test_async_cached_property.py")