diff options
author | Damien George <damien.p.george@gmail.com> | 2016-12-15 11:11:57 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-12-15 11:11:57 +1100 |
commit | 7081ea4119005aed320c644a9464f1f241b0b86e (patch) | |
tree | 90fef454a0e280452a2f479482d9036e2774eb14 /tests/micropython/heapalloc_traceback.py.exp | |
parent | a5b3c7e7f9443319d9330ab6ab06c6b365226082 (diff) |
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).
Diffstat (limited to 'tests/micropython/heapalloc_traceback.py.exp')
-rw-r--r-- | tests/micropython/heapalloc_traceback.py.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/micropython/heapalloc_traceback.py.exp b/tests/micropython/heapalloc_traceback.py.exp index 16284f0da..9ba10948d 100644 --- a/tests/micropython/heapalloc_traceback.py.exp +++ b/tests/micropython/heapalloc_traceback.py.exp @@ -1,3 +1,5 @@ +StopIteration Traceback (most recent call last): - File "micropython/heapalloc_traceback.py", line 17, in test + File , line 18, in test StopIteration: + |