Kaydet (Commit) 536d93db authored tarafından Martin Panter's avatar Martin Panter

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

üst 09231e65
...@@ -308,7 +308,7 @@ class OtherFileTests(unittest.TestCase): ...@@ -308,7 +308,7 @@ class OtherFileTests(unittest.TestCase):
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