Discussion:
[Python-3000-checkins] r65078 - python/branches/py3k/Lib/test/test_fileio.py
benjamin.peterson
2008-07-17 23:27:27 UTC
Permalink
Author: benjamin.peterson
Date: Fri Jul 18 01:27:26 2008
New Revision: 65078

Log:
it seems that /dev/tty is seekable on Solaris, too

Modified:
python/branches/py3k/Lib/test/test_fileio.py

Modified: python/branches/py3k/Lib/test/test_fileio.py
==============================================================================
--- python/branches/py3k/Lib/test/test_fileio.py (original)
+++ python/branches/py3k/Lib/test/test_fileio.py Fri Jul 18 01:27:26 2008
@@ -137,7 +137,8 @@
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)

Loading...