cpython: bff9265d677d (original) (raw)

Mercurial > cpython

changeset 70291:bff9265d677d

Issue #12105: test_posix, add the value of O_CLOEXEC in the error message [#12105]

Victor Stinner victor.stinner@haypocalc.com
date Mon, 23 May 2011 12:54:52 +0200
parents ad1ea4961ead
children faafe2b81ec5
files Lib/test/test_posix.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-)[+] [-] Lib/test/test_posix.py 3

line wrap: on

line diff

--- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -312,7 +312,8 @@ class PosixTester(unittest.TestCase): def test_oscloexec(self): fd = os.open(support.TESTFN, os.O_RDONLY|os.O_CLOEXEC) self.addCleanup(os.close, fd)

def test_osexlock(self): if hasattr(posix, "O_EXLOCK"):