From: Benjamin Peterson Date: Thu, 17 Jul 2008 23:27:26 +0000 (+0000) Subject: it seems that /dev/tty is seekable on Solaris, too X-Git-Tag: v3.0b2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94fe10ff75a0420d0c7a0a1852161e87faf711ee;p=python it seems that /dev/tty is seekable on Solaris, too --- diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py index c94ceafdea..12b8e7da31 100644 --- a/Lib/test/test_fileio.py +++ b/Lib/test/test_fileio.py @@ -137,7 +137,8 @@ class OtherFileTests(unittest.TestCase): self.assertEquals(f.readable(), False) self.assertEquals(f.writable(), True) if sys.platform != "darwin" and \ - not sys.platform.startswith('freebsd'): + not sys.platform.startswith('freebsd') and \ + not sys.platform.startswith('sunos'): # Somehow /dev/tty appears seekable on some BSDs self.assertEquals(f.seekable(), False) self.assertEquals(f.isatty(), True)