From: Martin Panter Date: Mon, 14 Nov 2016 03:35:59 +0000 (+0000) Subject: Issue #28016: Skip /dev/tty seekable() test on AIX X-Git-Tag: v2.7.13rc1~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=536d93dbd0a1d5ea98419dae9c1d3358b79d53f1;p=python Issue #28016: Skip /dev/tty seekable() test on AIX --- 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)