-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
rm -f .coverage # coverage erase
nosetests tqdm --with-coverage --cover-package=tqdm --cover-erase --cover-min-percentage=80 --ignore-files="tests_perf.py" -d -v
nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module
tests_pandas.test_pandas ... ok
tests_pandas.test_pandas_leave ... ok
Test time interval format ... ok
Test statistics and progress bar formatting ... ok
Test SI unit prefixes ... ok
tests_tqdm.test_all_defaults ... ok
Test csv iterator ... ok
Test output to arbitrary file-like objects ... ok
Test leave=True
always prints info about the last iteration ... ok
Test trange ... ok
Test mininterval ... ok
Test maxinterval ... ok
Test miniters ... ok
Test purely dynamic miniters ... ok
Test large mininterval ... ok
Test smoothed dynamic miniters ... ok
Test smoothed dynamic miniters with mininterval ... ok
Test disable ... ok
Test SI unit prefix ... ok
Test ascii/unicode bar ... ok
Test manual creation and updates ... ok
Test manual creation and closure ... ok
Test exponential weighted average smoothing ... ok
Test nested progress bars ... ok
0it [00:00, ?it/s]okatting ...
Test unpause ... FAIL
Hello: 0it [00:00, ?it/s]ok
Test internal GUI properties ... ok
Test version string ... ok
FAIL: Test unpause
Traceback (most recent call last):
File "/Users/HWJ/anaconda2/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/HWJ/pkgs/tqdm/tqdm/tests/tests_tqdm.py", line 734, in test_unpause
assert abs(r_before - r_after) < 1 # TODO: replace equal when DiscreteTimer
AssertionError:
assert abs(91.41 - 87.61) < 1 # TODO: replace equal when DiscreteTimer
Ran 29 tests in 2.318s
FAILED (failures=1)
make[1]: *** [testcoverage] Error 1
make: *** [alltests] Error 2