diff --git a/tests/evtimer_msg/tests/01-run.py b/tests/evtimer_msg/tests/01-run.py index b6be878ca47b1006f9c8792dfa0c74766a58f6fe..e3b400e39b95c1507086655b70c1254709021d20 100755 --- a/tests/evtimer_msg/tests/01-run.py +++ b/tests/evtimer_msg/tests/01-run.py @@ -24,7 +24,6 @@ def testfunc(child): for i in range(numof): child.expect(r'At \s*(\d+) ms received msg %i: "supposed to be (\d+)"' % i) - stop = int(time.time() * 1000) # check if output is correct exp = int(child.match.group(2)) + timer_offset assert(int(child.match.group(1)) in range(exp - ACCEPTED_ERROR, exp + ACCEPTED_ERROR + 1))