Skip to content

gh-128265: support wasi/emscripten on pdb tests, by removing asyncio from pdb tests - #128264

Merged
Eclips4 merged 6 commits into
python:mainfrom
graingert:wasi-emscripten-pdb
Dec 28, 2024
Merged

gh-128265: support wasi/emscripten on pdb tests, by removing asyncio from pdb tests#128264
Eclips4 merged 6 commits into
python:mainfrom
graingert:wasi-emscripten-pdb

Conversation

@graingert

@graingertgraingert commented Dec 25, 2024

Copy link
Copy Markdown
Contributor

@graingertgraingert changed the title support wasi/emscripten on pdb testssupport wasi/emscripten on pdb tests, by removing asyncio from pdb testsDec 25, 2024
@graingertgraingert changed the title support wasi/emscripten on pdb tests, by removing asyncio from pdb testsgh-128265: support wasi/emscripten on pdb tests, by removing asyncio from pdb testsDec 25, 2024
@graingert
graingert marked this pull request as ready for review December 25, 2024 22:01
Comment threadLib/test/test_pdb.py
Comment threadLib/test/support/__init__.py Outdated
Comment threadLib/test/test_inspect/test_inspect.py Outdated
Comment threadLib/test/test_pdb.py Outdated

@Eclips4Eclips4 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

@Eclips4
Eclips4 merged commit aab51c3 into python:mainDec 28, 2024
@graingert
graingert deleted the wasi-emscripten-pdb branch December 28, 2024 18:14
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 8, 2025
…yncio from pdb tests (python#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.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@graingert@sobolevn@Eclips4