summaryrefslogtreecommitdiff
path: root/tests/extmod/vfs_rom.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-01-02 14:11:57 +1100
committerDamien George <damien@micropython.org>2025-01-06 17:55:11 +1100
commitfca8ea6c3994c5d9ffe088a678d01ec5279d5b6c (patch)
tree8f0f11228d66e296440fbdf1cffc2155aa07ab36 /tests/extmod/vfs_rom.py
parent966eb003946cdddb0e9236a70c432890117f70ab (diff)
tests/extmod/vfs_rom.py: Import errno for test.
It's needed by the test. This previously passed because the compiler (actually parser) optimises away errno constants. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/extmod/vfs_rom.py')
-rw-r--r--tests/extmod/vfs_rom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/extmod/vfs_rom.py b/tests/extmod/vfs_rom.py
index 0382c84c5..d416d8387 100644
--- a/tests/extmod/vfs_rom.py
+++ b/tests/extmod/vfs_rom.py
@@ -1,7 +1,7 @@
# Test VfsRom filesystem.
try:
- import sys, struct, os, uctypes, vfs
+ import errno, sys, struct, os, uctypes, vfs
vfs.VfsRom
except (ImportError, AttributeError):