Revert last change -- test works on HPUX again after Martin's checkin
authorNeal Norwitz <nnorwitz@gmail.com>
Wed, 1 Jan 2003 14:53:27 +0000 (14:53 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Wed, 1 Jan 2003 14:53:27 +0000 (14:53 +0000)
to 'properly configure the slave terminal'

See SF patch # 656590 for the details.

Lib/test/test_pty.py

index 02165bc131c7588b2125777b7b8e4cc2b24008a7..eb833f0443e2b98effd6a9408fa3b9a8459c1197 100644 (file)
@@ -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.)