From 536d93dbd0a1d5ea98419dae9c1d3358b79d53f1 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Mon, 14 Nov 2016 03:35:59 +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 634a7641eb..2825a87024 100644 --- a/Lib/test/test_fileio.py +++ b/Lib/test/test_fileio.py @@ -308,7 +308,7 @@ class OtherFileTests(unittest.TestCase): 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) -- 2.50.0