summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/builtin_round.py
diff options
context:
space:
mode:
authorSebastian Plamauer <oeplse@gmail.com>2015-07-14 14:44:31 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-07-19 21:49:44 +0300
commit1e8ca3a3cf442733f9210be4d5f6a5b63135a16d (patch)
tree04897c6ca646c4237af708227fad2616167d89c4 /tests/basics/builtin_round.py
parentab14c304931dfed22374a73ed62bd8ba8abb07d2 (diff)
downloadmicropython-1e8ca3a3cf442733f9210be4d5f6a5b63135a16d.tar.gz
micropython-1e8ca3a3cf442733f9210be4d5f6a5b63135a16d.zip
modbuiltins: Implement round() to precision.
Diffstat (limited to 'tests/basics/builtin_round.py')
-rw-r--r--tests/basics/builtin_round.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basics/builtin_round.py b/tests/basics/builtin_round.py
index 7f0edfe84d..579bae39d9 100644
--- a/tests/basics/builtin_round.py
+++ b/tests/basics/builtin_round.py
@@ -2,7 +2,7 @@
tests = [
False, True,
- 0, 1, -1, 10,
+ 0, 1, -1, 10
]
for t in tests:
print(round(t))