From: Charles-François Natali Date: Tue, 17 Apr 2012 17:58:50 +0000 (+0200) Subject: Issue #5113: Fix a test_posix failure on HP-UX, where non-root users can X-Git-Tag: v3.3.0a3~178 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fba807ac44ff6804dd1be7c3962fc3455c8e7763;p=thirdparty%2FPython%2Fcpython.git Issue #5113: Fix a test_posix failure on HP-UX, where non-root users can chown() to root under certain circumstances. --- fba807ac44ff6804dd1be7c3962fc3455c8e7763 diff --cc Lib/test/test_posix.py index c3dfffb17845,76126342085f..142dddd09b62 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@@ -9,7 -9,7 +9,8 @@@ import errn import sys import time import os +import fcntl + import platform import pwd import shutil import stat