def METHOD_NAME(self):
    self.assertListEqual(self.pipeline_class.custom_pipeline_cache, [])
    @jit(pipeline_class=self.pipeline_class)
    def foo(x):
        with objmode(x="intp"):
            x += int(0x1)
        return x
    arg = 123
    self.assertEqual(foo(arg), arg + 1)
    # Two items in the list.
    self.assertEqual(len(self.pipeline_class.custom_pipeline_cache), 2)
    # First item is the `foo` function
    first = self.pipeline_class.custom_pipeline_cache[0]
    self.assertIs(first, foo.py_func)
    # Second item is a FunctionIR of the obj-lifted function
    second = self.pipeline_class.custom_pipeline_cache[1]
    self.assertIsInstance(second, FunctionIR)