update invalid-mpy test and result
This commit is contained in:
parent
9c91448bc2
commit
73d231c54c
|
@ -1,4 +1,3 @@
|
||||||
mod0 RuntimeError Corrupt .mpy file
|
mod0 ValueError incompatible .mpy file
|
||||||
mod1 RuntimeError Corrupt .mpy file
|
mod1 ValueError incompatible .mpy file
|
||||||
mod2 ValueError Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/mpy-update for more info.
|
mod2 ValueError incompatible .mpy file
|
||||||
mod3 ValueError Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/mpy-update for more info.
|
|
||||||
|
|
|
@ -109,7 +109,7 @@ user_files = {
|
||||||
|
|
||||||
# create and mount a user filesystem
|
# create and mount a user filesystem
|
||||||
uos.mount(UserFS(user_files), "/userfs")
|
uos.mount(UserFS(user_files), "/userfs")
|
||||||
usys.path.append("/userfs")
|
sys.path.append("/userfs")
|
||||||
|
|
||||||
# import .mpy files from the user filesystem
|
# import .mpy files from the user filesystem
|
||||||
for i in range(len(user_files)):
|
for i in range(len(user_files)):
|
||||||
|
@ -122,4 +122,4 @@ for i in range(len(user_files)):
|
||||||
|
|
||||||
# unmount and undo path addition
|
# unmount and undo path addition
|
||||||
uos.umount("/userfs")
|
uos.umount("/userfs")
|
||||||
usys.path.pop()
|
sys.path.pop()
|
||||||
|
|
Loading…
Reference in New Issue