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/run-tests.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/run-tests.py')
| -rwxr-xr-x | tests/run-tests.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py index e2bdf7c2c..958ddb1dc 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -695,7 +695,6 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1): skip_async = False skip_const = False skip_revops = False - skip_io_module = False skip_fstring = False skip_endian = False skip_inlineasm = False @@ -752,11 +751,6 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1): if output == b"TypeError\n": skip_revops = True - # Check if io module exists, and skip such tests if it doesn't - output = run_feature_check(pyb, args, "io_module.py") - if output != b"io\n": - skip_io_module = True - # Check if fstring feature is enabled, and skip such tests if it doesn't output = run_feature_check(pyb, args, "fstring.py") if output != b"a=1\n": @@ -925,7 +919,6 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1): is_slice = test_name.find("slice") != -1 or test_name in misc_slice_tests is_async = test_name.startswith(("async_", "asyncio_")) or test_name.endswith("_async") is_const = test_name.startswith("const") - is_io_module = test_name.startswith("io_") is_fstring = test_name.startswith("string_fstring") is_inlineasm = test_name.startswith("asm") @@ -940,7 +933,6 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1): skip_it |= skip_async and is_async skip_it |= skip_const and is_const skip_it |= skip_revops and "reverse_op" in test_name - skip_it |= skip_io_module and is_io_module skip_it |= skip_fstring and is_fstring skip_it |= skip_inlineasm and is_inlineasm |
