Lines Matching refs:threading
22 import threading
24 threading = None
53 @unittest.skipUnless(threading, 'Threading required for this test.')
245 @unittest.skipUnless(threading, 'Threading required for this test.')
293 context.lock = threading.Lock()
294 context.event = threading.Event()
296 threads = [threading.Thread(target=self.pendingcalls_thread,
556 @unittest.skipUnless(threading, 'Threading required for this test.')
566 idents.append(threading.get_ident())
572 self.assertEqual(idents.count(threading.get_ident()), 3,
576 t = threading.Thread(target=target)
633 @unittest.skipUnless(threading, 'Test requires a GIL (multithreading)')