1
0
mirror of https://github.com/ARM-software/devlib.git synced 2024-10-05 10:20:51 +01:00
devlib/tests
Douglas Raillard fb4e155696 utils/asyn: Replace nest_asyncio with greenlet
Provide an implementation of re-entrant asyncio.run() that is less
brittle than what greenback provides (e.g. no use of ctypes to poke
extension types).

The general idea of the implementation consists in treating the executed
coroutine as a generator, then turning that generator into a generator
implemented using greenlet. This allows a nested function to make the
top-level parent yield values on its behalf, as if every call was
annotated with "yield from".
2024-09-12 17:59:19 -05:00
..
test_asyn.py utils/asyn: Replace nest_asyncio with greenlet 2024-09-12 17:59:19 -05:00
test_config.yml target: tests: Address review comments on PR#667 2024-05-28 19:08:05 -05:00
test_config.yml.example target: tests: Address review comments on PR#667 2024-05-28 19:08:05 -05:00
test_target.py target: tests: Address review comments on PR#667 2024-05-28 19:08:05 -05:00