tests/run-tests: Skip uasyncio if no async, and skip one test on native.
@@ -420,6 +420,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
@@ -449,7 +450,7 @@ def run_tests(pyb, tests, args, base_path="."):
is_set_type = test_name.startswith("set_") or test_name.startswith("frozenset") \
or test_name.endswith("_set")
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_")
