]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #28016: Skip /dev/tty seekable() test on AIX
authorMartin Panter <vadmium+py@gmail.com>
Mon, 14 Nov 2016 01:58:57 +0000 (01:58 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Mon, 14 Nov 2016 01:58:57 +0000 (01:58 +0000)
Lib/test/test_fileio.py

index 59cc38f6ca2dfa617aa63d96b1dccf1b898c782d..12f2f119b5e903ddec1d993830cddb5048988c38 100644 (file)
@@ -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)