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
Refactor test_find_function_found_with_encoding_cookie
  • Loading branch information
pareshjoshij authored Nov 24, 2025
commit 4aeba2a623a12a9e8f1e8b20e33065a72775ceff
8 changes: 4 additions & 4 deletions Lib/test/test_pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -3593,10 +3593,10 @@ 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(
"""\

def test_find_function_found_with_encoding_cookie(self):
self._assert_find_function(
"""\
# coding: iso-8859-15
def foo():
pass
Expand Down
Loading