diff options
Diffstat (limited to 'tests/micropython/heapalloc_traceback.py')
-rw-r--r-- | tests/micropython/heapalloc_traceback.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/micropython/heapalloc_traceback.py b/tests/micropython/heapalloc_traceback.py index eabd09388..09a2ad2c1 100644 --- a/tests/micropython/heapalloc_traceback.py +++ b/tests/micropython/heapalloc_traceback.py @@ -1,7 +1,7 @@ # test that we can generate a traceback without allocating import micropython -import sys +import usys try: import uio @@ -33,7 +33,7 @@ test() # print the exception that was raised buf = uio.StringIO() -sys.print_exception(global_exc, buf) +usys.print_exception(global_exc, buf) for l in buf.getvalue().split("\n"): # uPy on pyboard prints <stdin> as file, so remove filename. if l.startswith(" File "): |