Terry J. Reedy added the comment:
This was the only failure on 2 of 4 buildbots when I last looked.
test_os has several methods like this:
def test_dup2(self):
if hasattr(os, "dup2"):
self.check(os.dup2, 20)
Should the hasattr be moved to skipUnless for all of these?
They now 'pass' without the needed os method.
----------
nosy: +terry.reedy
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15301>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com