Benjamin Peterson added the comment: Likely they were written before the invention of unittest test skpping. They could be converted.
2013/8/10 Terry J. Reedy <rep...@bugs.python.org>: > > 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 <rep...@bugs.python.org> > <http://bugs.python.org/issue15301> > _______________________________________ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15301> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com