aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/import/mpy_invalid.py1
-rw-r--r--tests/import/mpy_invalid.py.exp1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/import/mpy_invalid.py b/tests/import/mpy_invalid.py
index 6a4e116e7..6e9cbc9db 100644
--- a/tests/import/mpy_invalid.py
+++ b/tests/import/mpy_invalid.py
@@ -48,6 +48,7 @@ user_files = {
'/mod0.mpy': b'', # empty file
'/mod1.mpy': b'M', # too short header
'/mod2.mpy': b'M\x00\x00\x00', # bad version
+ '/mod3.mpy': b'M\x00\x00\x00\x7f', # qstr window too large
}
# create and mount a user filesystem
diff --git a/tests/import/mpy_invalid.py.exp b/tests/import/mpy_invalid.py.exp
index 1727ea1ce..ea748ff6c 100644
--- a/tests/import/mpy_invalid.py.exp
+++ b/tests/import/mpy_invalid.py.exp
@@ -1,3 +1,4 @@
mod0 ValueError incompatible .mpy file
mod1 ValueError incompatible .mpy file
mod2 ValueError incompatible .mpy file
+mod3 ValueError incompatible .mpy file