Skip to content
Snippets Groups Projects
Unverified Commit 20ddb678 authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #8200 from aabadie/pr/tests/python_F841

tests/evtimer_msg: fix F841 local variable 'stop' is assigned to but never used
parents 43e972fc 3dfea171
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment