commit | 35f34f8d6051fa0fcd2c17f6214bd6ddea841596 | [log] [tgz] |
---|---|---|
author | Thomas Wouters <thomas@python.org> | Sat Jan 28 12:05:54 2006 +0000 |
committer | Thomas Wouters <thomas@python.org> | Sat Jan 28 12:05:54 2006 +0000 |
tree | 62ca73819eb763756c6e7bf149a11073de5774a7 | |
parent | c960f26044edaea6669e60859ecf590c63c65e62 [diff] |
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.