1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/evtimer_msg: fix F841 local variable 'stop' is assigned to but never used

This commit is contained in:
Alexandre Abadie 2017-12-04 08:33:06 +01:00
parent 24476e0817
commit 3dfea171f1

View File

@ -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))