def METHOD_NAME(self):
    # See issue #8898
    @njit
    def foo(x):
        return np.exp2(x)
    for ty in (np.int8, np.uint16):
        x = ty(2)
        expected = foo.py_func(x)
        got = foo(x)
        self.assertPreciseEqual(expected, got)