]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Work around a Solaris peculiarity that caused test_pty to sometimes fail: a
authorThomas Wouters <thomas@python.org>
Sat, 28 Jan 2006 12:08:39 +0000 (12:08 +0000)
committerThomas Wouters <thomas@python.org>
Sat, 28 Jan 2006 12:08:39 +0000 (12:08 +0000)
commitcb65c7ee19d6dfdbb47b15fcd8da16472b8100e0
tree056189314b84685b196621535458871c577be797
parentf5eccd0ac4aa525cba17d8cfef66763277eb9932
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.
Lib/test/test_pty.py