gh-121468: Fix the doctest failure for asyncio test on pdb (#131258)

This commit is contained in:
Tian Gao 2025-03-14 16:23:21 -04:00 committed by GitHub
parent 633942e348
commit 26511993e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2079,7 +2079,7 @@ if not SKIP_CORO_TESTS:
> <doctest test.test_pdb.test_pdb_asynctask[1]>(2)test()
-> import pdb; pdb.Pdb(nosigint=True, readrc=False).set_trace()
(Pdb) $_asynctask
<Task pending name='Task-1' coro=<test() running at <doctest test.test_pdb.test_pdb_asynctask[1]>:2> ...
<Task pending name=... coro=<test() running at <doctest test.test_pdb.test_pdb_asynctask[1]>:2> ...
(Pdb) continue
"""