summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/asyncio_new_event_loop.py.exp
Commit message (Collapse)AuthorAge
* tests/extmod: Make get_event_loop tests compatible with CPython 3.12.Damien George2024-07-18
| | | | | | | | | | Follow up to 2e852522b178e6e9b2f0cdb954ba44aa9e7d7c0d: instead of having .exp files for the get_event_loop tests, tweak them so they are compatible with CPython 3.12. This requires calling `asyncio.set_event_loop()` so there is an active event loop and `asyncio.get_event_loop()` succeeds without a warning. Signed-off-by: Damien George <damien@micropython.org>
* tests/extmod: Add .exp test files for asyncio.get_event_loop tests.Damien George2024-05-27
| | | | | | | And use `asyncio.new_event_loop()` where possible. This change is needed because CPython 3.12 deprecated the `get_event_loop()` function. Signed-off-by: Damien George <damien@micropython.org>
* tests/extmod: Remove asyncio .exp files that match CPython output.Damien George2024-01-24
| | | | | | | | | | | | | | | These were added back in commit c4935f30490d0446e16a51dbf7a6397b771cf804 because the tests required CPython 3.8, which was quite new at the time. But CPython 3.8 was released over 4 years ago (October 2019) and the CI test runners, and developers, have this (or a more recent) CPython version. Removing the .exp files also helps keep MicroPython semantics the same as CPython. The asyncio_fair.py test it adjusted slightly to have more deterministic timing and output. Signed-off-by: Damien George <damien@micropython.org>
* tests: Rename uasyncio to asyncio.Jim Mussared2023-06-19
This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>