[Python-checkins] cpython (2.7): Issue #28016: Skip /dev/tty seekable() test on AIX
martin.panter
python-checkins at python.org
Mon Nov 14 00:39:11 EST 2016
https://hg.python.org/cpython/rev/b1f99e09bd77
changeset: 105095:b1f99e09bd77
branch: 2.7
parent: 105077:828251c2bccf
user: Martin Panter <vadmium+py at gmail.com>
date: Mon Nov 14 03:35:59 2016 +0000
summary:
Issue #28016: Skip /dev/tty seekable() test on AIX
files:
Lib/test/test_fileio.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py
--- a/Lib/test/test_fileio.py
+++ b/Lib/test/test_fileio.py
@@ -308,7 +308,7 @@
self.assertEqual(f.writable(), True)
if sys.platform != "darwin" and \
'bsd' not in sys.platform and \
- not sys.platform.startswith('sunos'):
+ not sys.platform.startswith(('sunos', 'aix')):
# Somehow /dev/tty appears seekable on some BSDs
self.assertEqual(f.seekable(), False)
self.assertEqual(f.isatty(), True)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list