Skip to content

Commit

Permalink
examples/micropython: fix checked PID
Browse files Browse the repository at this point in the history
With #14224 the idle thread became
optional, so the main thread can have either 1 or 2 as PID, depending
if the idle thread is included or not. As this might also change in the
future, it is probably the best to just expect any number.
  • Loading branch information
miri64 committed Jul 15, 2020
1 parent 8923701 commit 5599b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/micropython/tests/01-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_time():
# test riot.thread_getpid()
child.sendline('import riot')
child.sendline('print(riot.thread_getpid())')
child.expect_exact('2')
child.expect(r'\d+')
child.expect_exact('>>>')

#
Expand Down

0 comments on commit 5599b06

Please sign in to comment.