diff options
| author | Damien George | 2019-09-26 16:39:37 +1000 |
|---|---|---|
| committer | Damien George | 2019-09-26 16:39:37 +1000 |
| commit | 5716c5cf65e9b2cb46c2906f40302401bdd27517 (patch) | |
| tree | c3e3ecc5efaae279c8c434df5a5320ec216be284 /tests | |
| parent | 96f2a3807583945042b628b5184b0c91cf2714a2 (diff) | |
py/persistentcode: Bump .mpy version to 5.
The bytecode opcodes have changed (there are more, and they have been
reordered).
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/import/mpy_native.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/import/mpy_native.py b/tests/import/mpy_native.py index f1d862d29..25fceb9bb 100644 --- a/tests/import/mpy_native.py +++ b/tests/import/mpy_native.py @@ -50,11 +50,11 @@ class UserFS: # these are the test .mpy files user_files = { # bad architecture - '/mod0.mpy': b'M\x04\xff\x00\x10', + '/mod0.mpy': b'M\x05\xff\x00\x10', # test loading of viper and asm '/mod1.mpy': ( - b'M\x04\x0b\x1f\x20' # header + b'M\x05\x0b\x1f\x20' # header b'\x38' # n bytes, bytecode b'\x01\x00\x00\x00\x00\x00\x05\x00\x00\x00\x00\xff' # prelude |
