mirror of
				https://github.com/python/cpython.git
				synced 2025-11-01 06:01:29 +00:00 
			
		
		
		
	Fixed a test for issue #21619 on Windows.
On Windows an OSError with errno=EINVAL is raised.
This commit is contained in:
		
							parent
							
								
									ab900c21fc
								
							
						
					
					
						commit
						cf265fd02a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -2531,7 +2531,7 @@ def test_broken_pipe_cleanup(self): | |||
|         proc.stdout.read()  # Make sure subprocess has closed its input | ||||
|         proc.stdin.write(b"buffered data") | ||||
|         self.assertIsNone(proc.returncode) | ||||
|         self.assertRaises(BrokenPipeError, proc.__exit__, None, None, None) | ||||
|         self.assertRaises(OSError, proc.__exit__, None, None, None) | ||||
|         self.assertEqual(0, proc.returncode) | ||||
|         self.assertTrue(proc.stdin.closed) | ||||
|         self.assertTrue(proc.stdout.closed) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Serhiy Storchaka
						Serhiy Storchaka