From 6b671b259120e0004f49216d7197c5b0fd84d99c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Sat, 28 Jan 2012 11:36:04 +0100 Subject: Issue #13894: Skip test_threading.CRLockTests if _CRLock isn't available. Patch by Matt Joiner. --- Lib/test/test_threading.py | 1 + Misc/ACKS | 1 + 2 files changed, 2 insertions(+) diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index ef15d10..924d9d3 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -726,6 +726,7 @@ class LockTests(lock_tests.LockTests): class PyRLockTests(lock_tests.RLockTests): locktype = staticmethod(threading._PyRLock) +@unittest.skipIf(threading._CRLock is None, 'RLock not implemented in C') class CRLockTests(lock_tests.RLockTests): locktype = staticmethod(threading._CRLock) diff --git a/Misc/ACKS b/Misc/ACKS index c888a8c..8117d80 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -453,6 +453,7 @@ Orjan Johansen Fredrik Johansson Gregory K. Johnson Simon Johnston +Matt Joiner Thomas Jollans Nicolas Joly Evan Jones -- cgit v0.12