summaryrefslogtreecommitdiffstats
path: root/tests/tests_asyncio.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests_asyncio.py')
-rw-r--r--tests/tests_asyncio.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/tests_asyncio.py b/tests/tests_asyncio.py
new file mode 100644
index 0000000..6f08926
--- /dev/null
+++ b/tests/tests_asyncio.py
@@ -0,0 +1,11 @@
+"""Tests `tqdm.asyncio` on `python>=3.7`."""
+import sys
+
+if sys.version_info[:2] > (3, 6):
+ from .py37_asyncio import * # NOQA, pylint: disable=wildcard-import
+else:
+ from .tests_tqdm import skip
+ try:
+ skip("async not supported", allow_module_level=True)
+ except TypeError:
+ pass