diff options
| author | Damien George <damien@micropython.org> | 2025-08-11 11:45:55 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-08-15 00:23:16 +1000 |
| commit | 54e6cfc6e3f3c2056bf2f06d32a58932d29f1ac3 (patch) | |
| tree | 6bff1e7ddf87064066fbf95791e3cb59a68560e0 /tests/basics/io_stringio1.py | |
| parent | e2744ce679269692ceed2bed1e6f4f6a7840b49b (diff) | |
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>
Diffstat (limited to 'tests/basics/io_stringio1.py')
| -rw-r--r-- | tests/basics/io_stringio1.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/basics/io_stringio1.py b/tests/basics/io_stringio1.py index 7d355930f..889e3ce69 100644 --- a/tests/basics/io_stringio1.py +++ b/tests/basics/io_stringio1.py @@ -1,4 +1,9 @@ -import io +try: + import io +except ImportError: + print("SKIP") + raise SystemExit + a = io.StringIO() print('io.StringIO' in repr(a)) print(a.getvalue()) |
