Issue #28016: Skip /dev/tty seekable() test on AIX

This commit is contained in:
Martin Panter 2016-11-14 01:58:57 +00:00
parent efbf20f3a3
commit 9544a365bd
1 changed files with 1 additions and 1 deletions

View 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)