Searched refs:_module_locks (Results 1 – 2 of 2) sorted by relevance
121 self.assertNotIn(name, self.bootstrap._module_locks)123 self.assertIn(name, self.bootstrap._module_locks)127 self.assertNotIn(name, self.bootstrap._module_locks)132 self.assertEqual(0, len(self.bootstrap._module_locks),133 self.bootstrap._module_locks)
43 _module_locks = {} variable175 lock = _module_locks[name]()191 if _module_locks.get(name) is ref:192 del _module_locks[name]196 _module_locks[name] = _weakref.ref(lock, cb)