<p></p>
<p><b>@kaspar030</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/16525#discussion_r645454572">tests/msg_queue_print/tests/01-run.py</a>:</p>
<pre style='color:#555'>>  import sys
 from testrunner import run
 
 
 def testfunc(child):
     child.expect("No message queue")
-    child.expect("Message queue of thread 2")
+    child.expect(r"Message queue of thread \d+")
</pre>
<p><code>\d+</code> would match the 1 of 12 with pexpect. in this case, we're not expecting double digit thread ids, but then do just <code>\d</code> to be explicit, or fix to read <code>(\d+)\r\n'</code></p>
<p><a href="https://github.com/kaspar030/RIOT/blob/5d7477fa5f240e7989acb1158c8342d06b9c8360/tests/README.md#L67-L94">https://github.com/kaspar030/RIOT/blob/5d7477fa5f240e7989acb1158c8342d06b9c8360/tests/README.md#L67-L94</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/16525#discussion_r645454572">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYAPRIZNBZYHKQSEIF3TRCQ2DANCNFSM46CJAPRA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYDNTENZTXPMJDGL3FTTRCQ2DA5CNFSM46CJAPRKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOFBGPGII.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/16525#discussion_r645454572",
"url": "https://github.com/RIOT-OS/RIOT/pull/16525#discussion_r645454572",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>