summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-11-14 01:58:57 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-11-14 01:58:57 +0000
commit45ddfc613c2c09052d9b368daa134778607f2555 (patch)
tree3f5c709d7313c7ba0f444fe94478c013efbf7d59
parent13b5e3b99de1d232d79a4db17c306b3be586148a (diff)
downloadcpython-45ddfc613c2c09052d9b368daa134778607f2555.tar.gz
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 59cc38f6ca..12f2f119b5 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)