We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c91448 commit 73d231cCopy full SHA for 73d231c
2 files changed
tests/micropython/import_mpy_invalid.py.exp
@@ -1,4 +1,3 @@
1
-mod0 RuntimeError Corrupt .mpy file
2
-mod1 RuntimeError Corrupt .mpy file
3
-mod2 ValueError Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/mpy-update for more info.
4
-mod3 ValueError Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/mpy-update for more info.
+mod0 ValueError incompatible .mpy file
+mod1 ValueError incompatible .mpy file
+mod2 ValueError incompatible .mpy file
tests/micropython/import_mpy_native.py
@@ -109,7 +109,7 @@ def open(self, path, mode):
109
110
# create and mount a user filesystem
111
uos.mount(UserFS(user_files), "/userfs")
112
-usys.path.append("/userfs")
+sys.path.append("/userfs")
113
114
# import .mpy files from the user filesystem
115
for i in range(len(user_files)):
@@ -122,4 +122,4 @@ def open(self, path, mode):
122
123
# unmount and undo path addition
124
uos.umount("/userfs")
125
-usys.path.pop()
+sys.path.pop()
0 commit comments