Show More
@@ -2,6 +2,7 b' Test UI worker interaction' | |||
|
2 | 2 | |
|
3 | 3 | $ cat > t.py <<EOF |
|
4 | 4 | > from __future__ import absolute_import, print_function |
|
5 | > import sys | |
|
5 | 6 | > import time |
|
6 | 7 | > from mercurial import ( |
|
7 | 8 | > error, |
@@ -9,6 +10,7 b' Test UI worker interaction' | |||
|
9 | 10 | > ui as uimod, |
|
10 | 11 | > worker, |
|
11 | 12 | > ) |
|
13 | > sys.unraisablehook = lambda x: None | |
|
12 | 14 | > def abort(ui, args): |
|
13 | 15 | > if args[0] == 0: |
|
14 | 16 | > # by first worker for test stability |
@@ -101,7 +103,9 b' Workers should not do cleanups in all ca' | |||
|
101 | 103 | > from __future__ import absolute_import |
|
102 | 104 | > import atexit |
|
103 | 105 | > import os |
|
106 | > import sys | |
|
104 | 107 | > import time |
|
108 | > sys.unraisablehook = lambda x: None | |
|
105 | 109 | > oldfork = os.fork |
|
106 | 110 | > count = 0 |
|
107 | 111 | > parentpid = os.getpid() |
General Comments 0
You need to be logged in to leave comments.
Login now