I get: ./python -m test -vvv test_pdb == CPython 3.11.0a5+ (heads/main:92a8fd08c7, Mar 1 2022, 17:51:16) [GCC 11.2.0] == Linux-5.13.0-30-generic-x86_64-with-glibc2.34 little-endian == cwd: /home/me/Documents/cpython/build/test_python_28417æ == CPU count: 8 == encodings: locale=UTF-8, FS=utf-8 0:00:00 load avg: 0.94 Run tests sequentially 0:00:00 load avg: 0.94 [1/1] test_pdb test test_pdb crashed -- Traceback (most recent call last): File "/home/me/Documents/cpython/Lib/test/libregrtest/runtest.py", line 340, in _runtest_inner refleak = _runtest_inner2(ns, test_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/me/Documents/cpython/Lib/test/libregrtest/runtest.py", line 280, in _runtest_inner2 the_module = importlib.import_module(abstest) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/me/Documents/cpython/Lib/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1206, in _gcd_import File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 924, in exec_module File "", line 241, in _call_with_frames_removed File "/home/me/Documents/cpython/Lib/test/test_pdb.py", line 18, in from test.test_doctest import _FakeInput ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/me/Documents/cpython/Lib/test/test_doctest.py", line 2816, in if supports_unicode and not support.has_no_debug_ranges(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/me/Documents/cpython/Lib/test/support/init.py", line 433, in has_no_debug_ranges return bool(config['no_debug_ranges']) ~~~~~~^^^^^^^^^^^^^^^^^^^ KeyError: 'no_debug_ranges' test_pdb failed (uncaught exception) == Tests result: FAILURE == 1 test failed: test_pdb Total duration: 205 ms Tests result: FAILURE |
Uh oh!
There was an error while loading.Please reload this page.
Also expanded docs forretval cmd -- I found them confusing and insufficient when working on this issue.
https://bugs.python.org/issue20853