mirror of https://github.com/python/cpython
bpo-32294: Fix multiprocessing test_semaphore_tracker() (#4885)
Run the child process with -E option to ignore the PYTHONWARNINGS environment variable.
This commit is contained in:
parent
642d67b4f2
commit
9402c8367b
|
@ -4365,7 +4365,7 @@ class TestSemaphoreTracker(unittest.TestCase):
|
|||
'''
|
||||
r, w = os.pipe()
|
||||
p = subprocess.Popen([sys.executable,
|
||||
'-c', cmd % (w, w)],
|
||||
'-E', '-c', cmd % (w, w)],
|
||||
pass_fds=[w],
|
||||
stderr=subprocess.PIPE)
|
||||
os.close(w)
|
||||
|
|
Loading…
Reference in New Issue