Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c4d9df5

Browse files
authored
Skip test_read_pty_output test on macOS for poll and select. (#4774)
Starting with 10.13.2 the test hangs forever.
1 parent 77106b2 commit c4d9df5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Lib/test/test_asyncio/test_events.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1486,9 +1486,7 @@ async def connect():
14861486

14871487
@unittest.skipUnless(sys.platform != 'win32',
14881488
"Don't support pipes for Windows")
1489-
# select, poll and kqueue don't support character devices (PTY) on Mac OS X
1490-
# older than 10.6 (Snow Leopard)
1491-
@support.requires_mac_ver(10, 6)
1489+
@unittest.skipIf(sys.platform == 'darwin', 'test hangs on MacOS')
14921490
# Issue #20495: The test hangs on FreeBSD 7.2 but pass on FreeBSD 9
14931491
@support.requires_freebsd_version(8)
14941492
def test_read_pty_output(self):

0 commit comments

Comments
 (0)