summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-17 23:27:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-07-17 23:27:26 (GMT)
commit94fe10ff75a0420d0c7a0a1852161e87faf711ee (patch)
treebefdf4028c89c6355fdbdd7090232afbb5eeb97f /Lib/test
parent22b85b3ef85c50ce5053acb2860df858d040eb07 (diff)
downloadcpython-94fe10ff75a0420d0c7a0a1852161e87faf711ee.zip
cpython-94fe10ff75a0420d0c7a0a1852161e87faf711ee.tar.gz
cpython-94fe10ff75a0420d0c7a0a1852161e87faf711ee.tar.bz2
it seems that /dev/tty is seekable on Solaris, too
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_fileio.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py
index c94ceaf..12b8e7d 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)