1
0
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:
Francisco Molina 2020-03-24 14:15:25 +01:00
parent 5ef0cb9c18
commit 865b975c3d
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

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