8000 gh-117618: Make package.module searchable for breakpoints and clean up docs by gaogaotiantian · Pull Request #117619 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-117618: Make package.module searchable for breakpoints and clean up docs #117619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 30, 2024
Prev Previous commit
Next Next commit
Remove absolute path in test
  • Loading branch information
gaogaotiantian committed Apr 8, 2024
commit ce7df93dbd9c1fae39ec50afcd9d5b9fb6853a91
10 changes: 5 additions & 5 deletions Lib/test/test_pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def test_pdb_breakpoint_with_filename():

>>> reset_Breakpoint()

>>> with PdbTestInput([ # doctest: +NORMALIZE_WHITESPACE
>>> with PdbTestInput([ # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
... 'break test.test_inspect.inspect_fodder2:90',
... 'continue', # will stop at func88
... 'break test/test_inspect/inspect_fodder2.py:115',
Expand All @@ -382,14 +382,14 @@ def test_pdb_breakpoint_with_filename():
> <doctest test.test_pdb.test_pdb_breakpoint_with_filename[0]>(5)test_function()
-> mod2.func88()
(Pdb) break test.test_inspect.inspect_fodder2:90
Breakpoint 1 at /home/gaogaotiantian/programs/mycpython/Lib/test/test_inspect/inspect_fodder2.py:90
Breakpoint 1 at ...test/test_inspect/inspect_fodder2.py:90
(Pdb) continue
> /home/gaogaotiantian/programs/mycpython/Lib/test/test_inspect/inspect_fodder2.py(90)func88()
> ...test/test_inspect/inspect_fodder2.py(90)func88()
-> return 90
(Pdb) break test/test_inspect/inspect_fodder2.py:115
Breakpoint 2 at /home/gaogaotiantian/programs/mycpython/Lib/test/test_inspect/inspect_fodder2.py:115
Breakpoint 2 at ...test/test_inspect/inspect_fodder2.py:115
(Pdb) continue
> /home/gaogaotiantian/programs/mycpython/Lib/test/test_inspect/inspect_fodder2.py(115)func114()
> ...test/test_inspect/inspect_fodder2.py(115)func114()
-> return 115
(Pdb) continue
"""
Expand Down
0