diff options
author | Mark Shannon <mark@hotpy.org> | 2021-06-10 07:46:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-10 07:46:59 (GMT) |
commit | 54cb63863f19a7c64d9a3a5fd97bdfc0dd7ab374 (patch) | |
tree | dc0e977d4f8e5d8f43e2e231eff206cd7bee9f3a /Lib/test/test_pdb.py | |
parent | e117c0283705943189e6b1aef668a1f68f3f00a4 (diff) | |
download | cpython-54cb63863f19a7c64d9a3a5fd97bdfc0dd7ab374.zip cpython-54cb63863f19a7c64d9a3a5fd97bdfc0dd7ab374.tar.gz cpython-54cb63863f19a7c64d9a3a5fd97bdfc0dd7ab374.tar.bz2 |
bpo-44348: Move trace-info to thread-state (GH-26623)
* Move trace-info to thread state.
* Correct output for pdb when turning on tracing in middle of line
Diffstat (limited to 'Lib/test/test_pdb.py')
-rw-r--r-- | Lib/test/test_pdb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py index cd096e7..08c0ffa 100644 --- a/Lib/test/test_pdb.py +++ b/Lib/test/test_pdb.py @@ -1288,8 +1288,8 @@ def test_pdb_issue_20766(): -> print('pdb %d: %s' % (i, sess._previous_sigint_handler)) (Pdb) continue pdb 1: <built-in function default_int_handler> - > <doctest test.test_pdb.test_pdb_issue_20766[0]>(5)test_function() - -> sess.set_trace(sys._getframe()) + > <doctest test.test_pdb.test_pdb_issue_20766[0]>(6)test_function() + -> print('pdb %d: %s' % (i, sess._previous_sigint_handler)) (Pdb) continue pdb 2: <built-in function default_int_handler> """ |