mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	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
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -4365,7 +4365,7 @@ def test_semaphore_tracker(self): | |||
|         ''' | ||||
|         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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner