Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix regression test spacing and add gh-141781 test
Added a test for function finding with encoding cookie.
  • Loading branch information
pareshjoshij authored Nov 24, 2025
commit 24265c2806e89da7282a99fa6faadcd461c4d438
2 changes: 1 addition & 1 deletion Lib/test/test_pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -3567,7 +3567,6 @@ def test_find_function_empty_file(self):
def test_find_function_found(self):
self._assert_find_function(
"""\

def foo():
pass

Expand All @@ -3594,6 +3593,7 @@ def test_print_stack_entry_uses_dynamic_line_prefix(self):

# Check if the custom prefix appeared in the output
self.assertIn('CUSTOM_PREFIX> ', stdout.getvalue())

def test_find_function_found_with_encoding_cookie(self):
self._assert_find_function(
"""\
Expand Down
Loading