Skip to content

test_pdb raises a DeprecationWarning #128201

Closed
@Eclips4

Description

@Eclips4

Bug report

Bug description:

eclips4@nixos ~/p/p/cpython (main)> ./python -m test -v test_pdb -m test_pdb_next_command_for_coroutine
== CPython 3.14.0a3+ (heads/main:180d417e9f9, Jan 1 1980, 00:00:00) [GCC 13.3.0]
== Linux-6.6.63-x86_64-with-glibc2.40 little-endian
== Python build: debug
== cwd: /home/eclips4/programming/programming-languages/cpython/build/test_python_worker_293203æ
== CPU count: 16
== encodings: locale=UTF-8 FS=utf-8
== resources: all test resources are disabled, use -u option to unskip tests

Using random seed: 315532800
0:00:00 load avg: 6.89 Run 1 test sequentially in a single process
0:00:00 load avg: 6.89 [1/1] test_pdb
test_pdb_next_command_for_coroutine (test.test_pdb)
Doctest: test.test_pdb.test_pdb_next_command_for_coroutine ... <doctest test.test_pdb.test_pdb_next_command_for_coroutine[3]>:5: DeprecationWarning: 'asyncio.set_event_loop_policy' is deprecated and slated for removal in Python 3.16
  asyncio.set_event_loop_policy(None)
ok

----------------------------------------------------------------------
Ran 1 test in 0.007s

OK

== Tests result: SUCCESS ==

1 test OK.

Total duration: 181 ms
Total tests: run=1 (filtered)
Total test files: run=1/1 (filtered)
Result: SUCCESS

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions