def run_unary(self, pyfunc, x_types, x_values, ulps=1,
                  flags=enable_pyobj_flags):
        for tx in x_types:
            cr = compile_isolated(pyfunc, [tx], flags=flags)
            cfunc = cr.entry_point
            prec = 'single' if (types.float32, types.complex64) in tx else 'double'
            for vx in x_values:
                try:
                    expected = pyfunc(vx)
                except ValueError as e:
                    self.assertIn("math domain error", str(e))
                    continue
                got = cfunc(vx)
                msg = 'for input %r with prec %r' % (vx, prec)
                self.assertPreciseEqual(got, expected, prec=prec,
                                        ulps=ulps, msg=msg)
dataset/ETHPy150Open numba/numba/numba/tests/test_complex.py/BaseComplexTest.run_unary/swapped operands of `in`