From: Martin Panter Date: Mon, 14 Nov 2016 01:58:57 +0000 (+0000) Subject: Issue #28016: Skip /dev/tty seekable() test on AIX X-Git-Tag: v3.6.0b4~89^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9544a365bd47000b0d4c364808860365e6142a03;p=thirdparty%2FPython%2Fcpython.git Issue #28016: Skip /dev/tty seekable() test on AIX --- diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py index 59cc38f6ca2d..12f2f119b5e9 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)