mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix AttributeError.
This commit is contained in:
parent
5c2f4640a7
commit
692f038a5d
1 changed files with 1 additions and 1 deletions
|
@ -1282,7 +1282,7 @@ class ProgramPriorityTests(unittest.TestCase):
|
|||
try:
|
||||
os.setpriority(os.PRIO_PROCESS, os.getpid(), base)
|
||||
except OSError as err:
|
||||
if err.errno != errno.EACCESS:
|
||||
if err.errno != errno.EACCES:
|
||||
raise
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue