diff options
author | Damien George <damien@micropython.org> | 2024-12-17 15:15:59 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-12-19 15:12:04 +1100 |
commit | e323da729101c9fe626b5b08cafef2dbdbb70441 (patch) | |
tree | cc8d2f5bc56e145667d055f4b7a5ce9473052699 /docs/esp32 | |
parent | 3c1722e705002b2182f138a114f4408ae7ebac38 (diff) | |
download | micropython-e323da729101c9fe626b5b08cafef2dbdbb70441.tar.gz micropython-e323da729101c9fe626b5b08cafef2dbdbb70441.zip |
tests/run-tests.py: Set name of injected test module to '__main__'.
Running unittest-based tests with --via-mpy is currently broken, because
the unittest test needs the module to be named `__main__`, whereas it's
actually called `__injected_test`.
Fix this by changing the name when the file is opened.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions