From 9544a365bd47000b0d4c364808860365e6142a03 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Mon, 14 Nov 2016 01:58:57 +0000 Subject: [PATCH] Issue #28016: Skip /dev/tty seekable() test on AIX --- Lib/test/test_fileio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py index 59cc38f6ca2..12f2f119b5e 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)