Searched refs:_module_locks (Results 1 – 2 of 2) sorted by relevance
123 self.assertNotIn(name, self.bootstrap._module_locks)125 self.assertIn(name, self.bootstrap._module_locks)129 self.assertNotIn(name, self.bootstrap._module_locks)134 self.assertEqual(0, len(self.bootstrap._module_locks),135 self.bootstrap._module_locks)
56 _module_locks = {} variable188 lock = _module_locks[name]()204 if _module_locks.get(name) is ref:205 del _module_locks[name]209 _module_locks[name] = _weakref.ref(lock, cb)