diff --git a/tests/float/cmath_dunder.py b/tests/float/cmath_dunder.py index 3526341510..909894d9f8 100644 --- a/tests/float/cmath_dunder.py +++ b/tests/float/cmath_dunder.py @@ -14,7 +14,7 @@ class TestFloat: class TestComplex: def __complex__(self): - return 1j + 10 + return complex(10, 1) for clas in TestFloat, TestComplex: diff --git a/tests/run-tests.py b/tests/run-tests.py index e548059b1c..03269a9f1c 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -532,6 +532,7 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1): if not has_complex: skip_tests.add("float/complex1.py") skip_tests.add("float/complex1_intbig.py") + skip_tests.add("float/complex_reverse_op.py") skip_tests.add("float/complex_special_methods.py") skip_tests.add("float/int_big_float.py") skip_tests.add("float/true_value.py")