diff options
| author | Damien George | 2020-01-23 17:57:46 +1100 |
|---|---|---|
| committer | Damien George | 2020-03-26 01:25:45 +1100 |
| commit | 5d09a40df91ec8872651f3b1f7118800a86592e1 (patch) | |
| tree | 5f11bb60b2d0cb18eec1c770014ccb62b126d325 /tests | |
| parent | c4935f30490d0446e16a51dbf7a6397b771cf804 (diff) | |
tests/run-tests: Skip uasyncio if no async, and skip one test on native.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/run-tests | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/run-tests b/tests/run-tests index 28f0d76f6..df55a4e9e 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -413,6 +413,7 @@ def run_tests(pyb, tests, args, base_path="."): skip_tests.add('basics/scope_implicit.py') # requires checking for unbound local skip_tests.add('basics/try_finally_return2.py') # requires raise_varargs skip_tests.add('basics/unboundlocal.py') # requires checking for unbound local + skip_tests.add('extmod/uasyncio_lock.py') # requires async with skip_tests.add('misc/features.py') # requires raise_varargs skip_tests.add('misc/print_exception.py') # because native doesn't have proper traceback info skip_tests.add('misc/sys_exc_info.py') # sys.exc_info() is not supported for native @@ -441,7 +442,7 @@ def run_tests(pyb, tests, args, base_path="."): is_bytearray = test_name.startswith("bytearray") or test_name.endswith("_bytearray") is_set_type = test_name.startswith("set_") or test_name.startswith("frozenset") is_slice = test_name.find("slice") != -1 or test_name in misc_slice_tests - is_async = test_name.startswith("async_") + is_async = test_name.startswith(("async_", "uasyncio_")) is_const = test_name.startswith("const") is_io_module = test_name.startswith("io_") |
