Skip to content

Commit 154d602

Browse files
committed
webassembly/mpconfigport: Enable importing of .mpy files.
Signed-off-by: Damien George <[email protected]>
1 parent fa23e4b commit 154d602

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

ports/webassembly/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
#endif
4040

4141
#define MICROPY_ALLOC_PATH_MAX (256)
42+
#define MICROPY_PERSISTENT_CODE_LOAD (1)
4243
#define MICROPY_COMP_ALLOW_TOP_LEVEL_AWAIT (1)
4344
#define MICROPY_READER_VFS (MICROPY_VFS)
4445
#define MICROPY_ENABLE_GC (1)

tests/run-tests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,6 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1):
702702
skip_tests.add("micropython/emg_exc.py")
703703
skip_tests.add("micropython/extreme_exc.py")
704704
skip_tests.add("micropython/heapalloc_exc_compressed_emg_exc.py")
705-
skip_tests.add("micropython/import_mpy_invalid.py")
706705

707706
# Some tests are known to fail on 64-bit machines
708707
if pyb is None and platform.architecture()[0] == "64bit":

0 commit comments

Comments
 (0)