summaryrefslogtreecommitdiff
path: root/tests/float/builtin_float_round.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/builtin_float_round.py')
-rw-r--r--tests/float/builtin_float_round.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/float/builtin_float_round.py b/tests/float/builtin_float_round.py
index afde6ff16..6759d0fd5 100644
--- a/tests/float/builtin_float_round.py
+++ b/tests/float/builtin_float_round.py
@@ -10,3 +10,7 @@ for t in tests:
# check .5 cases
for i in range(11):
print(round((i - 5) / 2))
+
+# test second arg
+# TODO uPy currently only supports second arg being 0
+print(round(1.4, 0))