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>
This commit is contained in:
Damien George
2025-01-02 14:11:57 +11:00
parent 966eb00394
commit fca8ea6c39

View File

@@ -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):