commit | 692f038a5dad826254fe73050063862d76dc7baa | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Feb 26 00:22:25 2011 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Feb 26 00:22:25 2011 +0000 |
tree | e0c728ac9b23b5ef546c8c6a16d33d2869708603 | |
parent | 5c2f4640a7d1b3b410cd216c7b7c72d1aa3f6204 [diff] [blame] |
Fix AttributeError.
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 358c92d..0b65bbd 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py
@@ -1282,7 +1282,7 @@ try: os.setpriority(os.PRIO_PROCESS, os.getpid(), base) except OSError as err: - if err.errno != errno.EACCESS: + if err.errno != errno.EACCES: raise