This website requires JavaScript.
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
mirror
/
micropython
kopia lustrzana
https://github.com/micropython/micropython
Obserwuj
1
Polub
0
Forkuj
You've already forked micropython
0
Kod
Zgłoszenia
Projekty
Wydania
Wiki
Aktywność
c49d5207e9
micropython
/
tests
/
micropython
/
heapalloc_traceback.py.exp
6 wiersze
93 B
Plaintext
Czysty
Zwykły widok
Historia
Unescape
Escape
tests/micropython: Get heapalloc_traceback test running on baremetal. When printing exceptions from files sent to a target by pyboard.py the filename in the exception is <stdin>, which differs to when running the script on the PC. So we strip out the filename to make the outputs the same on all targets (see also misc/print_exception.py test).
2016-12-15 00:11:57 +00:00
StopIteration
tests/micropython: Move alloc-less traceback test to separate test file. The native emitter doesn't provide proper traceback info so this test should not be run in that case.
2016-11-21 06:39:23 +00:00
Traceback (most recent call last):
tests: Format all Python code with black, except tests in basics subdir. This adds the Python files in the tests/ directory to be formatted with ./tools/codeformat.py. The basics/ subdirectory is excluded for now so we aren't changing too much at once. In a few places `# fmt: off`/`# fmt: on` was used where the code had special formatting for readability or where the test was actually testing the specific formatting.
2020-03-23 02:26:08 +00:00
File , line 25, in test
tests/micropython: Move alloc-less traceback test to separate test file. The native emitter doesn't provide proper traceback info so this test should not be run in that case.
2016-11-21 06:39:23 +00:00
StopIteration:
tests/micropython: Get heapalloc_traceback test running on baremetal. When printing exceptions from files sent to a target by pyboard.py the filename in the exception is <stdin>, which differs to when running the script on the PC. So we strip out the filename to make the outputs the same on all targets (see also misc/print_exception.py test).
2016-12-15 00:11:57 +00:00