summaryrefslogtreecommitdiffstats
path: root/tests/tests_rich.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests_rich.py')
-rw-r--r--tests/tests_rich.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/tests_rich.py b/tests/tests_rich.py
new file mode 100644
index 0000000..c75e246
--- /dev/null
+++ b/tests/tests_rich.py
@@ -0,0 +1,10 @@
+"""Test `tqdm.rich`."""
+import sys
+
+from .tests_tqdm import importorskip, mark
+
+
+@mark.skipif(sys.version_info[:3] < (3, 6, 1), reason="`rich` needs py>=3.6.1")
+def test_rich_import():
+ """Test `tqdm.rich` import"""
+ importorskip('tqdm.rich')