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
Update Lib/test/test_re.py
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
  • Loading branch information
Abhi210 and serhiy-storchaka authored Nov 4, 2025
commit d1d582e4c0d9395efc6aa4faa1bc3560cf4e6163
2 changes: 1 addition & 1 deletion Lib/test/test_re.py
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,7 @@ def s_int(scanner, token): return int(token)
'op+', 'bar'], ''))

def test_bug_gh140797(self):
# gh140797: capturing groups is not allowed in re.Scanner
# gh140797: Capturing groups are not allowed in re.Scanner

msg = "Cannot use capturing groups in re.Scanner"
# Capturing group throws an error
Expand Down
Loading