diff --git a/tests/evtimer_msg/tests/01-run.py b/tests/evtimer_msg/tests/01-run.py index 56635f72da..b45bd67d3d 100755 --- a/tests/evtimer_msg/tests/01-run.py +++ b/tests/evtimer_msg/tests/01-run.py @@ -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")