mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
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>
This commit is contained in:
committed by
Yann E. MORIN
parent
1772ad2f5f
commit
4a8aafecf0
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user