From 7373cbba6b6f32476fc68a40a11fcba1cf1c7d3c Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 14 Sep 2025 19:26:34 +1000 Subject: tests/import: Skip import tests where needed. Signed-off-by: Damien George --- tests/import/builtin_ext.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/import/builtin_ext.py') diff --git a/tests/import/builtin_ext.py b/tests/import/builtin_ext.py index 87465f1d5..aecbbb263 100644 --- a/tests/import/builtin_ext.py +++ b/tests/import/builtin_ext.py @@ -1,3 +1,9 @@ +try: + import uos, utime +except ImportError: + print("SKIP") + raise SystemExit + # Verify that sys is a builtin. import sys -- cgit v1.2.3