[Python-checkins] python/dist/src/Lib/test test_pty.py,1.16,1.17

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Wed, 01 Jan 2003 06:53:30 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv8116/Lib/test

Modified Files:
	test_pty.py 
Log Message:
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.


Index: test_pty.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_pty.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** test_pty.py	31 Dec 2002 18:21:11 -0000	1.16
--- test_pty.py	1 Jan 2003 14:53:27 -0000	1.17
***************
*** 26,32 ****
      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"
  
  # IRIX apparently turns \n into \r\n. Allow that, but avoid allowing other
--- 26,31 ----
      raise TestSkipped, "Pseudo-terminals (seemingly) not functional."
  
! 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