Package: tqdm / 4.28.1-1

0001-skip-tests.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
--- a/tqdm/tests/tests_synchronisation.py
+++ b/tqdm/tests/tests_synchronisation.py
@@ -171,6 +171,8 @@ def test_monitoring_multi():
 @with_setup(pretest, posttest)
 def test_imap():
     """Test multiprocessing.Pool"""
+    # https://github.com/tqdm/tqdm/issues/654
+    raise SkipTest
     try:
         from multiprocessing import Pool
     except ImportError:
--- a/tqdm/tests/tests_main.py
+++ b/tqdm/tests/tests_main.py
@@ -94,18 +94,19 @@ def test_main():
         except SystemExit:
             pass
 
-    # test --manpath
-    tmp = mkdtemp()
-    man = path.join(tmp, "tqdm.1")
-    assert not path.exists(man)
-    try:
-        main(argv=['--manpath', tmp])
-    except SystemExit:
-        pass
-    else:
-        raise SystemExit("Expected system exit")
-    assert path.exists(man)
-    rmtree(tmp, True)
+    # https://github.com/tqdm/tqdm/issues/655
+    ## test --manpath
+    #tmp = mkdtemp()
+    #man = path.join(tmp, "tqdm.1")
+    #assert not path.exists(man)
+    #try:
+    #    main(argv=['--manpath', tmp])
+    #except SystemExit:
+    #    pass
+    #else:
+    #    raise SystemExit("Expected system exit")
+    #assert path.exists(man)
+    #rmtree(tmp, True)
 
     # test --log
     with closing(StringIO()) as sys.stdin: