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 @@ def debug(msg): # " 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.)