summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/complex1.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/complex1.py')
-rw-r--r--tests/float/complex1.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/float/complex1.py b/tests/float/complex1.py
index 941a00d35c..4cf7a25f6d 100644
--- a/tests/float/complex1.py
+++ b/tests/float/complex1.py
@@ -26,3 +26,7 @@ print(1j / 2)
#print(1j / 2j) uPy doesn't print correctly
#print(1j ** 2) uPy doesn't print correctly
#print(1j ** 2j) uPy doesn't print correctly
+
+# builtin abs
+print(abs(1j))
+print(abs(1j + 2))