summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/cmath_dunder.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/cmath_dunder.py')
-rw-r--r--tests/float/cmath_dunder.py2
1 files changed, 1 insertions, 1 deletions
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: