diff options
author | Damien George <damien.p.george@gmail.com> | 2019-12-20 16:42:38 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-12-20 16:42:38 +1100 |
commit | 39bc430e44173430776e7336c9e622d52affe59a (patch) | |
tree | afcc4071422f154a5abe48d614de14f5709b477f /tests/pyb/timer.py | |
parent | 073c5f3a40abd4bd7691f5468f0106ed4379ebfb (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.py | 2 |
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())) |