mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Skip test_read_pty_output test on macOS for poll and select. (#4774)
Starting with 10.13.2 the test hangs forever.
This commit is contained in:
		
							parent
							
								
									77106b2c21
								
							
						
					
					
						commit
						c4d9df5fd7
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -1486,9 +1486,7 @@ async def connect():
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @unittest.skipUnless(sys.platform != 'win32',
 | 
					    @unittest.skipUnless(sys.platform != 'win32',
 | 
				
			||||||
                         "Don't support pipes for Windows")
 | 
					                         "Don't support pipes for Windows")
 | 
				
			||||||
    # select, poll and kqueue don't support character devices (PTY) on Mac OS X
 | 
					    @unittest.skipIf(sys.platform == 'darwin', 'test hangs on MacOS')
 | 
				
			||||||
    # older than 10.6 (Snow Leopard)
 | 
					 | 
				
			||||||
    @support.requires_mac_ver(10, 6)
 | 
					 | 
				
			||||||
    # Issue #20495: The test hangs on FreeBSD 7.2 but pass on FreeBSD 9
 | 
					    # Issue #20495: The test hangs on FreeBSD 7.2 but pass on FreeBSD 9
 | 
				
			||||||
    @support.requires_freebsd_version(8)
 | 
					    @support.requires_freebsd_version(8)
 | 
				
			||||||
    def test_read_pty_output(self):
 | 
					    def test_read_pty_output(self):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue