cpython (3.2): Issue #13894: Skip test_threading.CRLockTests if _CRLock isn't available. Patch
http://hg.python.org/cpython/rev/5cf181df7bea changeset: 74665:5cf181df7bea branch: 3.2 parent: 74662:5b8800004955 user: Charles-François Natali <neologix@free.fr> date: Sat Jan 28 11:36:04 2012 +0100 summary: Issue #13894: Skip test_threading.CRLockTests if _CRLock isn't available. Patch by Matt Joiner. files: Lib/test/test_threading.py | 1 + Misc/ACKS | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -726,6 +726,7 @@ 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 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -453,6 +453,7 @@ Fredrik Johansson Gregory K. Johnson Simon Johnston +Matt Joiner Thomas Jollans Nicolas Joly Evan Jones -- Repository URL: http://hg.python.org/cpython
participants (1)
-
charles-francois.natali