tests/basics: Skip tests of io module individually using SKIP.

Instead of using a feature check.  This is more consistent with how other
optional modules are skipped.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2025-08-11 11:45:55 +10:00
parent e2744ce679
commit 54e6cfc6e3
12 changed files with 47 additions and 28 deletions

View File

@@ -1,4 +1,9 @@
import io
try:
import io
except ImportError:
print("SKIP")
raise SystemExit
# test __enter__/__exit__
with io.StringIO() as b:
b.write("foo")