mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Issue #13894: Skip test_threading.CRLockTests if _CRLock isn't available. Patch
by Matt Joiner.
This commit is contained in:
		
						commit
						9ab91c60b2
					
				
					 2 changed files with 2 additions and 0 deletions
				
			
		|  | @ -738,6 +738,7 @@ class LockTests(lock_tests.LockTests): | ||||||
| class PyRLockTests(lock_tests.RLockTests): | class PyRLockTests(lock_tests.RLockTests): | ||||||
|     locktype = staticmethod(threading._PyRLock) |     locktype = staticmethod(threading._PyRLock) | ||||||
| 
 | 
 | ||||||
|  | @unittest.skipIf(threading._CRLock is None, 'RLock not implemented in C') | ||||||
| class CRLockTests(lock_tests.RLockTests): | class CRLockTests(lock_tests.RLockTests): | ||||||
|     locktype = staticmethod(threading._CRLock) |     locktype = staticmethod(threading._CRLock) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -492,6 +492,7 @@ Orjan Johansen | ||||||
| Fredrik Johansson | Fredrik Johansson | ||||||
| Gregory K. Johnson | Gregory K. Johnson | ||||||
| Simon Johnston | Simon Johnston | ||||||
|  | Matt Joiner | ||||||
| Thomas Jollans | Thomas Jollans | ||||||
| Nicolas Joly | Nicolas Joly | ||||||
| Evan Jones | Evan Jones | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Charles-François Natali
						Charles-François Natali