[issue11348] test_os: test_set_get_priority() fails when high niceness is set

R. David Murray report at bugs.python.org
Mon Feb 28 14:26:56 CET 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

We could, however, raise SkipTest if getpriority returns 19 or higher with a message like "unable to reliably test setpriority at current nice level of NN".  My guess is that no system we support has a lower upper limit on nice.  If someone wants to customize the test/message per OS, that would probably be even better; but not, I think, required.

----------

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


More information about the Python-bugs-list mailing list