]> granicus.if.org Git - python/commit
On some systems (like Solaris), the master end of a tty/pty pair is
authorThomas Wouters <thomas@python.org>
Tue, 3 Oct 2000 16:51:08 +0000 (16:51 +0000)
committerThomas Wouters <thomas@python.org>
Tue, 3 Oct 2000 16:51:08 +0000 (16:51 +0000)
commitf2c1be22f2f60aafa4ccef1e1a2e0a555f4e6a1a
tree40e1eb8ba427be18bd96d9f00a5fa77b972cb860
parent13589c6a52d2d142f064aff91a9b0ee166c57255
On some systems (like Solaris), the master end of a tty/pty pair is
apparently not considered a terminal, and so isatty(3) returns false. So we
skip the test for ttyness of the master side and just check the slave side,
which should really be a terminal.
Lib/test/test_pty.py