Issue #28016: Skip /dev/tty seekable() test on AIX
This commit is contained in:
parent
efbf20f3a3
commit
9544a365bd
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue