tqdm/tests/tests_asyncio.py

12 lines
308 B
Python

"""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