Issue #13894: Skip test_threading.CRLockTests if _CRLock isn't available. Patch

by Matt Joiner.
This commit is contained in:
Charles-François Natali 2012-01-28 11:36:04 +01:00
parent 261896b559
commit 6b671b2591
2 changed files with 2 additions and 0 deletions

View file

@ -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)

View file

@ -453,6 +453,7 @@ Orjan Johansen
Fredrik Johansson
Gregory K. Johnson
Simon Johnston
Matt Joiner
Thomas Jollans
Nicolas Joly
Evan Jones