[issue15301] os.chown: OverflowError: Python int too large to convert to C long

Benjamin Peterson report at bugs.python.org
Sun Aug 11 03:55:05 CEST 2013


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 <report at 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 at bugs.python.org>
> <http://bugs.python.org/issue15301>
> _______________________________________

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15301>
_______________________________________


More information about the Python-bugs-list mailing list