]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-128265: Support WASI/Emscripten on PDB tests, by removing asyncio from pdb tests...
authorThomas Grainger <tagrain@gmail.com>
Sat, 28 Dec 2024 14:59:49 +0000 (14:59 +0000)
committerGitHub <noreply@github.com>
Sat, 28 Dec 2024 14:59:49 +0000 (16:59 +0200)
commitaab51c3414bc815c4c31e8ef2a9003f4a546faa9
tree65dde154dbc0c7a6765904d25bd3c70db5368c04
parentaeb9b65aa26444529e4adc7d6e5b0d3dd9889ec2
gh-128265: Support WASI/Emscripten on PDB tests, by removing asyncio from pdb tests (#128264)

A part of `Lib/test/test_pdb.py` was previously unable to run on WASI/Emscripten
platforms because it lacked support for `asyncio`.
In fact, these tests could be rewritten without the `asyncio` framework because
`test_pdb` tests the behavior of coroutines, which are not part of `asyncio`.

Now reliance on the availability of `asyncio` has been removed and
part of `test_pdb` that deals with coroutines working on WASI/Emscripten platforms.
Lib/test/support/__init__.py
Lib/test/test_contextlib_async.py
Lib/test/test_inspect/test_inspect.py
Lib/test/test_pdb.py