cpython: 9a16fa0c9548 (original) (raw)

Mercurial > cpython

changeset 70325:9a16fa0c9548

Issue #12105: test_posix skips test_oscloexec() on Linux < 2.6.23 [#12105]

Victor Stinner victor.stinner@haypocalc.com
date Tue, 24 May 2011 00:29:43 +0200
parents d585a6d548a3
children 1b13707708b1
files Lib/test/test_posix.py
diffstat 1 files changed, 5 insertions(+), 2 deletions(-)[+] [-] Lib/test/test_posix.py 7

line wrap: on

line diff

--- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -310,10 +310,13 @@ class PosixTester(unittest.TestCase): @unittest.skipUnless(hasattr(os, 'O_CLOEXEC'), "needs os.O_CLOEXEC") def test_oscloexec(self):

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