diff options
author | Damien George <damien.p.george@gmail.com> | 2014-12-11 17:10:25 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-12-11 17:10:25 +0000 |
commit | 184182d14c4e31d22d019dc6caf56e99cc4ce255 (patch) | |
tree | 8b9a9ec7b5f1f3961cc320e0fd80c68211b79a8c /tests/misc/print_exception.py | |
parent | 66a6caa3075ae29246cebaeed8bfe3b4ea5872cb (diff) | |
download | micropython-184182d14c4e31d22d019dc6caf56e99cc4ce255.tar.gz micropython-184182d14c4e31d22d019dc6caf56e99cc4ce255.zip |
tests: Fix print_exception test and re-enable it on Travis CI.
Issue was with uPy: on local machine with micropython-lib installed, io
module is available. Not the case on Travis CI, where only _io module
is available in uPy.
Diffstat (limited to 'tests/misc/print_exception.py')
-rw-r--r-- | tests/misc/print_exception.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |