def METHOD_NAME(self):
    pyfunc = identity
    cres = compile_isolated(pyfunc, [types.complex64],
                            return_type=types.complex64)
    xs = [1.0j, (1+1j), (-1-1j), (1+0j)]
    for x in xs:
        self.assertEqual(cres.entry_point(x), x)
    for x in np.complex64(xs):
        self.assertEqual(cres.entry_point(x), x)
    cres = compile_isolated(pyfunc, [types.complex128],
                            return_type=types.complex128)
    xs = [1.0j, (1+1j), (-1-1j), (1+0j)]
    for x in xs:
        self.assertEqual(cres.entry_point(x), x)
    for x in np.complex128(xs):
        self.assertEqual(cres.entry_point(x), x)