support/testing/tests/package/test_micropython.py: fix 'returned' typo
Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commit 4a8aafecf026a099e4b55d10a38b9dfd9b576e60) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
11b9507240
commit
ea4aacba6e
@ -16,7 +16,7 @@ class TestMicroPython(infra.basetest.BRTest):
|
||||
def run_upy_code(self, python_code, opts=""):
|
||||
cmd = f'micropython {opts} -c "{python_code}"'
|
||||
output, ret = self.emulator.run(cmd)
|
||||
self.assertEqual(ret, 0, f"could not run '{cmd}', returnd {ret}: '{output}'")
|
||||
self.assertEqual(ret, 0, f"could not run '{cmd}', returned {ret}: '{output}'")
|
||||
return output
|
||||
|
||||
def test_run(self):
|
||||
|
Loading…
Reference in New Issue
Block a user