This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
35a10952b2
circuitpython
/
tests
/
micropython
/
heapalloc_traceback.py.exp
6 lines
93 B
Plaintext
Raw
Normal View
History
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-14 19:11:57 -05: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 01:39:23 -05:00
Traceback (most recent call last):
tests/heapalloc_*: Refactor some tests to work in strict stackless mode. In strict stackless mode, it's not possible to make a function call with heap locked (because function activation record aka frame is allocated on heap). So, if the only purpose of function is to introduce local variable scope, move heap lock/unlock calls inside the function.
2017-12-11 04:56:20 -05:00
File , line 23, 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 01:39:23 -05: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-14 19:11:57 -05:00
Reference in New Issue
Copy Permalink