8000 Import functools and adjust tests for the new line number for find_fu… · python/cpython@4df7611 · GitHub
[go: up one dir, main page]

Skip to content {"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}

Commit 4df7611

Browse files
committed
Import functools and adjust tests for the new line number for find_function.
1 parent 59b5906 commit 4df7611

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/pdb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
import signal
8181
import inspect
8282
import tokenize
83+
import functools
8384
import traceback
8485
import linecache
8586

Lib/test/test_pdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def test_pdb_breakpoints_preserved_across_interactive_sessions():
362362
1 breakpoint keep yes at ...test_pdb.py:...
363363
2 breakpoint keep yes at ...test_pdb.py:...
364364
(Pdb) break pdb.find_function
365-
Breakpoint 3 at ...pdb.py:94
365+
Breakpoint 3 at ...pdb.py:95
366366
(Pdb) break
367367
Num Type Disp Enb Where
368368
1 breakpoint keep yes at ...test_pdb.py:...

0 commit comments

Comments
 (0)
0