From: Neal Norwitz Date: Wed, 1 Jan 2003 14:53:27 +0000 (+0000) Subject: Revert last change -- test works on HPUX again after Martin's checkin X-Git-Tag: v2.3c1~2675 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e8f5492c5c74b3cb3a8448fa8bf482d4e8a3d74;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Lib/test/test_pty.py b/Lib/test/test_pty.py index 02165bc131c7..eb833f0443e2 100644 --- a/Lib/test/test_pty.py +++ b/Lib/test/test_pty.py @@ -25,9 +25,8 @@ except OSError: # " An optional feature could not be imported " ... ? raise TestSkipped, "Pseudo-terminals (seemingly) not functional." -# this hangs on HPUX 11, comment out for now until we can determine cause -##if not os.isatty(slave_fd): -## raise TestFailed, "slave_fd is not a tty" +if not os.isatty(slave_fd): + raise TestFailed, "slave_fd is not a tty" # IRIX apparently turns \n into \r\n. Allow that, but avoid allowing other # differences (like extra whitespace, trailing garbage, etc.)