diff options
author | Damien George <damien@micropython.org> | 2024-01-23 11:11:25 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-01-24 11:20:06 +1100 |
commit | 6bb446b7ff62af6d3b6b10f2da0f6d107f97e00e (patch) | |
tree | defebe4bddb58d75a044d219feefd8402cb7545f /tests/extmod/asyncio_lock.py | |
parent | 8eb658f654de345c935886b47e2e31b1dafeb862 (diff) |
tests/extmod: Remove asyncio .exp files that match CPython output.
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>
Diffstat (limited to 'tests/extmod/asyncio_lock.py')
-rw-r--r-- | tests/extmod/asyncio_lock.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/extmod/asyncio_lock.py b/tests/extmod/asyncio_lock.py index f565adb03..10d3285be 100644 --- a/tests/extmod/asyncio_lock.py +++ b/tests/extmod/asyncio_lock.py @@ -1,4 +1,8 @@ # Test Lock class +# +# This test has a corresponding .exp file because it tests a very specific ordering of +# events when cancelling a task waiting on a lock, and that ordering should not change +# (even though it does match CPython's output). try: import asyncio |