def METHOD_NAME(self):
    @njit
    def foo(x):
        return x + x
    foo(1)
    md = foo.get_metadata(foo.signatures[0])
    lock_duration = md['timers']['llvm_lock']
    self.assertIsInstance(lock_duration, float)
    self.assertGreater(lock_duration, 0)