From 59a48bab7787f2f8240b9fa514a3c4261f636ca1 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Sun, 19 Jan 2020 16:40:16 +0000 Subject: [PATCH] minor linting --- tqdm/contrib/itertools.py | 3 +++ tqdm/tests/tests_concurrent.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tqdm/contrib/itertools.py b/tqdm/contrib/itertools.py index 728a550d..42bbf5bf 100644 --- a/tqdm/contrib/itertools.py +++ b/tqdm/contrib/itertools.py @@ -1,3 +1,6 @@ +""" +Thin wrappers around `itertools`. +""" from __future__ import absolute_import from tqdm.auto import tqdm as tqdm_auto from copy import deepcopy diff --git a/tqdm/tests/tests_concurrent.py b/tqdm/tests/tests_concurrent.py index 57412cae..c91ab0a0 100644 --- a/tqdm/tests/tests_concurrent.py +++ b/tqdm/tests/tests_concurrent.py @@ -1,7 +1,6 @@ """ Tests for `tqdm.contrib` """ -import sys from tqdm.contrib.concurrent import thread_map, process_map from tests_tqdm import with_setup, pretest, posttest, SkipTest, StringIO, \ closing @@ -11,6 +10,7 @@ def incr(x): """Dummy function""" return x + 1 + @with_setup(pretest, posttest) def test_thread_map(): """Test contrib.concurrent.thread_map"""