From 3c87541d21cb3ff46b7e36f8e623b6796c4fe640 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Sun, 12 Jul 2020 13:07:08 +0100 Subject: [PATCH] tests: fix py2 --- tqdm/tests/{tests_async.py => py37_asyncio.py} | 0 tqdm/tests/tests_asyncio.py | 7 +++++++ 2 files changed, 7 insertions(+) rename tqdm/tests/{tests_async.py => py37_asyncio.py} (100%) create mode 100644 tqdm/tests/tests_asyncio.py diff --git a/tqdm/tests/tests_async.py b/tqdm/tests/py37_asyncio.py similarity index 100% rename from tqdm/tests/tests_async.py rename to tqdm/tests/py37_asyncio.py diff --git a/tqdm/tests/tests_asyncio.py b/tqdm/tests/tests_asyncio.py new file mode 100644 index 00000000..11b58ac8 --- /dev/null +++ b/tqdm/tests/tests_asyncio.py @@ -0,0 +1,7 @@ +import sys + +if sys.version_info[:2] > (3, 6): + from py37_asyncio import * # NOQA +else: + from tests_tqdm import SkipTest + raise SkipTest