tqdm/tests/tests_asyncio.py

12 lines
300 B
Python
Raw Normal View History

2020-10-24 22:43:59 +00:00
"""Tests `tqdm.asyncio` on `python>=3.7`."""
2020-07-12 12:07:08 +00:00
import sys
if sys.version_info[:2] > (3, 6):
2020-10-24 22:43:59 +00:00
from .py37_asyncio import * # NOQA, pylint: disable=wildcard-import
2020-07-12 12:07:08 +00:00
else:
2020-10-24 18:36:45 +00:00
import pytest
2020-10-24 21:35:32 +00:00
try:
pytest.skip("async not supported", allow_module_level=True)
except TypeError:
pass