summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-11-14 01:58:57 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-11-14 01:58:57 (GMT)
commit9544a365bd47000b0d4c364808860365e6142a03 (patch)
treeb6214acd6a709b27e5b8959689a94e2f03170144
parentefbf20f3a3301056f81eaa4e9da0d90f2b24e296 (diff)
downloadcpython-9544a365bd47000b0d4c364808860365e6142a03.zip
cpython-9544a365bd47000b0d4c364808860365e6142a03.tar.gz
cpython-9544a365bd47000b0d4c364808860365e6142a03.tar.bz2
Issue #28016: Skip /dev/tty seekable() test on AIX
-rw-r--r--Lib/test/test_fileio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py
index 59cc38f..12f2f11 100644
--- a/Lib/test/test_fileio.py
+++ b/Lib/test/test_fileio.py
@@ -377,7 +377,7 @@ class OtherFileTests:
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)