]> granicus.if.org Git - python/commit
Work around a Solaris peculiarity that caused test_pty to sometimes fail: a
authorThomas Wouters <thomas@python.org>
Sat, 28 Jan 2006 12:05:54 +0000 (12:05 +0000)
committerThomas Wouters <thomas@python.org>
Sat, 28 Jan 2006 12:05:54 +0000 (12:05 +0000)
commit35f34f8d6051fa0fcd2c17f6214bd6ddea841596
tree62ca73819eb763756c6e7bf149a11073de5774a7
parentc960f26044edaea6669e60859ecf590c63c65e62
Work around a Solaris peculiarity that caused test_pty to sometimes fail: a
tty opened by os.openpty() isn't always a tty according to os.isatty(), when
it's tested inside the process that opened it. Doesn't affect actual
functionality, as using a tty this way is rarely, if ever, useful. Ignoring
the failure allows the test for actual functionality to continue.

Will backport to 2.4-maint.
Lib/test/test_pty.py