diff options
Diffstat (limited to 'tests/micropython/emg_exc.py')
-rw-r--r-- | tests/micropython/emg_exc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/micropython/emg_exc.py b/tests/micropython/emg_exc.py index bca4d2d9f..b8df94b07 100644 --- a/tests/micropython/emg_exc.py +++ b/tests/micropython/emg_exc.py @@ -1,7 +1,7 @@ # test that emergency exceptions work import micropython -import sys +import usys try: import uio @@ -26,7 +26,7 @@ def f(): # print the exception buf = uio.StringIO() - sys.print_exception(exc, buf) + usys.print_exception(exc, buf) for l in buf.getvalue().split("\n"): if l.startswith(" File "): print(l.split('"')[2]) |