[issue10784] os.getpriority() and os.setpriority()

Antoine Pitrou report at bugs.python.org
Sat Feb 26 01:11:10 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

======================================================================
ERROR: test_set_get_priority (test.test_os.ProgramPriorityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.ochtman-gentoo-amd64/build/Lib/test/test_os.py", line 1283, in test_set_get_priority
    os.setpriority(os.PRIO_PROCESS, os.getpid(), base)
OSError: [Errno 13] Permission denied

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.ochtman-gentoo-amd64/build/Lib/test/test_os.py", line 1285, in test_set_get_priority
    if err.errno != errno.EACCESS:
AttributeError: 'module' object has no attribute 'EACCESS'

----------
status: closed -> open

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


More information about the Python-bugs-list mailing list