Commit eb33be15 authored by Martin Panter's avatar Martin Panter

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

parent 5a15534f
...@@ -377,7 +377,7 @@ class OtherFileTests: ...@@ -377,7 +377,7 @@ class OtherFileTests:
self.assertEqual(f.writable(), True) self.assertEqual(f.writable(), True)
if sys.platform != "darwin" and \ if sys.platform != "darwin" and \
'bsd' not in sys.platform 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 # Somehow /dev/tty appears seekable on some BSDs
self.assertEqual(f.seekable(), False) self.assertEqual(f.seekable(), False)
self.assertEqual(f.isatty(), True) self.assertEqual(f.isatty(), True)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment