Fix tests
This commit is contained in:
parent
2494bfdc86
commit
6d2072f9cb
|
@ -59,8 +59,8 @@ for i in range(len(user_files)):
|
||||||
mod = 'mod%u' % i
|
mod = 'mod%u' % i
|
||||||
try:
|
try:
|
||||||
__import__(mod)
|
__import__(mod)
|
||||||
except ValueError as er:
|
except Exception as e:
|
||||||
print(mod, 'ValueError', er)
|
print(mod, type(e).__name__, e)
|
||||||
|
|
||||||
# unmount and undo path addition
|
# unmount and undo path addition
|
||||||
uos.umount('/userfs')
|
uos.umount('/userfs')
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
mod0 ValueError Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/mpy-update for more info.
|
mod0 RuntimeError Corrupt .mpy file
|
||||||
mod1 ValueError Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/mpy-update for more info.
|
mod1 RuntimeError Corrupt .mpy file
|
||||||
mod2 ValueError Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/mpy-update for more info.
|
mod2 MpyError Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/mpy-update for more info.
|
||||||
|
|
Loading…
Reference in New Issue