diff --git a/tests/misc/print_exception.py b/tests/misc/print_exception.py index 8ca63a000b..ba99ed48ba 100644 --- a/tests/misc/print_exception.py +++ b/tests/misc/print_exception.py @@ -1,4 +1,4 @@ -import io +import _io as io # uPy does not have io module builtin import sys if hasattr(sys, 'print_exception'): print_exception = sys.print_exception diff --git a/tests/run-tests b/tests/run-tests index 801fb897c6..fd41931d35 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -60,7 +60,6 @@ def run_tests(pyb, tests, args): # Some tests shouldn't be run under Travis CI if os.getenv('TRAVIS') == 'true': skip_tests.add('basics/memoryerror.py') - skip_tests.add('misc/print_exception.py') # Some tests shouldn't be run on pyboard if pyb is not None: