diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-06-26 11:02:18 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-06-26 11:02:18 -0700 |
| commit | 6d2072f9cb3385eb6d69ac876d9d415a4e41e062 (patch) | |
| tree | 8dcaa9494d9de88da6fe7881faaf054b86b55a59 /tests/import/mpy_invalid.py | |
| parent | 2494bfdc8626aadb7d3197d165daf2569f3a8db1 (diff) | |
Fix tests
Diffstat (limited to 'tests/import/mpy_invalid.py')
| -rw-r--r-- | tests/import/mpy_invalid.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/import/mpy_invalid.py b/tests/import/mpy_invalid.py index 6a4e116e7..b9dd99a44 100644 --- a/tests/import/mpy_invalid.py +++ b/tests/import/mpy_invalid.py @@ -59,8 +59,8 @@ for i in range(len(user_files)): mod = 'mod%u' % i try: __import__(mod) - except ValueError as er: - print(mod, 'ValueError', er) + except Exception as e: + print(mod, type(e).__name__, e) # unmount and undo path addition uos.umount('/userfs') |
