diff options
author | Damien George <damien@micropython.org> | 2024-12-20 22:34:42 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-01-06 17:48:22 +1100 |
commit | 91e30df5f2c9e8c2c84277363a3266d09bc7ae49 (patch) | |
tree | c30d5137b67d178453bc1e0673bfe914f0352ee7 /docs/esp32/tutorial/peripheral_access.rst | |
parent | 5d12df51fc431ecb159112bf4a40983c2ccba165 (diff) |
tests/run-tests.py: Set __main__ module to __injected_test.
When using unittest (for example) with injected mpy files, not only does
the name of the main test module need to be `__main__`, but also the
`__main__` module should correspond to this injected module. Otherwise the
unittest test won't be detected.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32/tutorial/peripheral_access.rst')
0 files changed, 0 insertions, 0 deletions