From 16e7e3e0c5606724d14b0b287c6caee4e77678c8 Mon Sep 17 00:00:00 2001 From: Hadrien Mary Date: Sun, 11 Oct 2015 19:01:12 +0200 Subject: [PATCH] Add small test for version variable --- tqdm/__init__.py | 6 +++--- tqdm/tests/tests_version.py | 10 ---------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/tqdm/__init__.py b/tqdm/__init__.py index 6264e6ef..d7487066 100644 --- a/tqdm/__init__.py +++ b/tqdm/__init__.py @@ -2,7 +2,7 @@ from ._tqdm import tqdm from ._tqdm import trange from ._tqdm import format_interval from ._tqdm import format_meter - -__all__ = ['tqdm', 'trange', 'format_interval', 'format_meter'] - from ._version import __version__ + +__all__ = ['tqdm', 'trange', 'format_interval', 'format_meter', '__version__'] + diff --git a/tqdm/tests/tests_version.py b/tqdm/tests/tests_version.py index 188458ff..8cd6e76c 100644 --- a/tqdm/tests/tests_version.py +++ b/tqdm/tests/tests_version.py @@ -1,13 +1,3 @@ -from __future__ import unicode_literals - -import csv - -try: - from StringIO import StringIO -except: - from io import StringIO - - def test_version(): from tqdm import __version__ assert len(__version__.split('.')) == 4