Searched refs:_module_locks (Results 1 – 2 of 2) sorted by relevance
144 self.assertNotIn(name, self.bootstrap._module_locks)146 self.assertIn(name, self.bootstrap._module_locks)150 self.assertNotIn(name, self.bootstrap._module_locks)155 self.assertEqual(0, len(self.bootstrap._module_locks),156 self.bootstrap._module_locks)
42 _module_locks = {} variable165 lock = _module_locks[name]()174 del _module_locks[name]175 _module_locks[name] = _weakref.ref(lock, cb)