From 4e8f5492c5c74b3cb3a8448fa8bf482d4e8a3d74 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Wed, 1 Jan 2003 14:53:27 +0000 Subject: [PATCH] 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. --- Lib/test/test_pty.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Lib/test/test_pty.py b/Lib/test/test_pty.py index 02165bc131c..eb833f0443e 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.)