index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-05-03 10:58:19 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-05-03 10:58:19 +0200 |
commit | 79e7e2495c4e4d8336d9d8640149da7bfa9f1aa6 (patch) | |
tree | 537d3988fdf9677cbd1f2a02320a51147bd68298 /community/python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch | |
parent | db116f344d936411b1648e39f50226dbbab6b930 (diff) | |
parent | 7ffe1a68efb230c3692bfdcf50366ab3397225ea (diff) |
-rw-r--r-- | community/python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch | 12 |
diff --git a/community/python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch b/community/python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch new file mode 100644 index 00000000..ac9caae3 --- /dev/null +++ b/community/python-tqdm/tqdm-4.22.0-sleep-test-workaround.patch @@ -0,0 +1,12 @@ +diff -rauN tqdm-4.22.0/tqdm/tests/tests_synchronisation.py tqdm-4.22.0-sleep-test-workaround-patch/tqdm/tests/tests_synchronisation.py +--- tqdm-4.22.0/tqdm/tests/tests_synchronisation.py 2018-04-12 01:27:25.000000000 +0200 ++++ tqdm-4.22.0-sleep-test-workaround-patch/tqdm/tests/tests_synchronisation.py 2018-05-03 08:42:28.204036417 +0200 +@@ -155,7 +155,7 @@ + timeend = timer.time() + while not (t1.monitor.woken >= timeend and t1.miniters == 1): + timer.sleep(1) +- sleep(0.000001) ++ sleep(0.001) + assert t1.miniters == 1 # check that monitor corrected miniters + assert t2.miniters == 500 # check that t2 was not adjusted + |