From fca8ea6c3994c5d9ffe088a678d01ec5279d5b6c Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 2 Jan 2025 14:11:57 +1100 Subject: [PATCH] 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 --- tests/extmod/vfs_rom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):