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

Skip to content

Commit 4e8f549

Browse files
committed
Revert last change -- test works on HPUX again after Martin's checkin
to 'properly configure the slave terminal' See SF patch # 656590 for the details.
1 parent 6a8f7b7 commit 4e8f549

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Lib/test/test_pty.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ def debug(msg):
2525
# " An optional feature could not be imported " ... ?
2626
raise TestSkipped, "Pseudo-terminals (seemingly) not functional."
2727

28-
# this hangs on HPUX 11, comment out for now until we can determine cause
29-
##if not os.isatty(slave_fd):
30-
## raise TestFailed, "slave_fd is not a tty"
28+
if not os.isatty(slave_fd):
29+
raise TestFailed, "slave_fd is not a tty"
3130

3231
# IRIX apparently turns \n into \r\n. Allow that, but avoid allowing other
3332
# differences (like extra whitespace, trailing garbage, etc.)

0 commit comments

Comments
 (0)