Martin Panter added the comment: You should be able to provide a tuple of prefixes (I can easily change to that change when I commit):
not sys.platform.startswith(('sunos', 'aix')) However I noticed the AIX buildbots are all passing test_fileio. I wonder what the difference is? Maybe the buildbot process doesn’t have a /dev/tty and skips the test. Would this also be needed on 2.7? The test seems to be called testAblesOnTTY() there. ---------- nosy: +martin.panter stage: -> patch review versions: +Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28016> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com