mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
tests/evtimer_msg: fix assert range
This commit is contained in:
parent
5ef0cb9c18
commit
865b975c3d
@ -23,7 +23,7 @@ def testfunc(child):
|
||||
# check if output is correct
|
||||
expected = int(child.match.group(2))
|
||||
actual = int(child.match.group(1))
|
||||
assert(actual in range(expected - ACCEPTED_ERROR, expected + ACCEPTED_ERROR))
|
||||
assert(actual in range(expected - ACCEPTED_ERROR, expected + ACCEPTED_ERROR + 1))
|
||||
print(".", end="", flush=True)
|
||||
print("")
|
||||
print("All tests successful")
|
||||
|
Loading…
Reference in New Issue
Block a user