summaryrefslogtreecommitdiff
path: root/tests/pyb/timer.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-12-20 16:42:38 +1100
committerDamien George <damien.p.george@gmail.com>2019-12-20 16:42:38 +1100
commit39bc430e44173430776e7336c9e622d52affe59a (patch)
treeafcc4071422f154a5abe48d614de14f5709b477f /tests/pyb/timer.py
parent073c5f3a40abd4bd7691f5468f0106ed4379ebfb (diff)
tests/pyb: Adjust UART and Timer tests to work on PYBD_SF6.
Diffstat (limited to 'tests/pyb/timer.py')
-rw-r--r--tests/pyb/timer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyb/timer.py b/tests/pyb/timer.py
index e83550abd..0e24ff4ad 100644
--- a/tests/pyb/timer.py
+++ b/tests/pyb/timer.py
@@ -16,4 +16,4 @@ print(tim.period())
tim = Timer(2, freq=100)
print(tim.freq())
tim.freq(0.001)
-print(tim.freq())
+print('{:.3f}'.format(tim.freq()))