Message194860
Likely they were written before the invention of unittest test
skpping. They could be converted.
2013/8/10 Terry J. Reedy <report@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 <report@bugs.python.org>
> <http://bugs.python.org/issue15301>
> _______________________________________ |
|
Date |
User |
Action |
Args |
2013-08-11 01:55:05 | benjamin.peterson | set | recipients:
+ benjamin.peterson, loewis, georg.brandl, terry.reedy, mark.dickinson, pitrou, vstinner, larry, ned.deily, Arfrever, skrah, Mark.Shannon, python-dev, Scott.Leerssen, serhiy.storchaka, do1 |
2013-08-11 01:55:05 | benjamin.peterson | link | issue15301 messages |
2013-08-11 01:55:04 | benjamin.peterson | create | |
|