

def test_int_to_float(self):
    pyfunc = int_to_float
    cr = compile_isolated(pyfunc, [types.int64])
    cfunc = cr.entry_point
    self.assertEqual(cr.signature.return_type, types.float64)
    self.assertEqual(cfunc(321), pyfunc(321))
    cfunc.assertEqual(cfunc(321), (321.0 / 2))

dataset/ETHPy150Open numba/numba/numba/tests/test_casting.py TestCasting.test_int_to_float/VarMisuse@63/80 `self`->`cfunc`