diff options
| author | Damien George <damien@micropython.org> | 2024-05-14 15:18:48 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-05-14 15:19:27 +1000 |
| commit | 154d602b6e92cd5781d87291fa0e7455a14af334 (patch) | |
| tree | 9fe56cbfdfc4364ac6c873c596b5b1108008b998 | |
| parent | fa23e4b093f81f03a24187c7ea0c928a9b4a661b (diff) | |
webassembly/mpconfigport: Enable importing of .mpy files.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/webassembly/mpconfigport.h | 1 | ||||
| -rwxr-xr-x | tests/run-tests.py | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/ports/webassembly/mpconfigport.h b/ports/webassembly/mpconfigport.h index ae5dfa6fa..ece7868fb 100644 --- a/ports/webassembly/mpconfigport.h +++ b/ports/webassembly/mpconfigport.h @@ -39,6 +39,7 @@ #endif #define MICROPY_ALLOC_PATH_MAX (256) +#define MICROPY_PERSISTENT_CODE_LOAD (1) #define MICROPY_COMP_ALLOW_TOP_LEVEL_AWAIT (1) #define MICROPY_READER_VFS (MICROPY_VFS) #define MICROPY_ENABLE_GC (1) diff --git a/tests/run-tests.py b/tests/run-tests.py index 8acdcd2b3..1e1bd160a 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -702,7 +702,6 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1): skip_tests.add("micropython/emg_exc.py") skip_tests.add("micropython/extreme_exc.py") skip_tests.add("micropython/heapalloc_exc_compressed_emg_exc.py") - skip_tests.add("micropython/import_mpy_invalid.py") # Some tests are known to fail on 64-bit machines if pyb is None and platform.architecture()[0] == "64bit": |
