Skip to content

Commit d1d582e

Browse files
Update Lib/test/test_re.py
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent feaee4e commit d1d582e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_re.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,7 @@ def s_int(scanner, token): return int(token)
16401640
'op+', 'bar'], ''))
16411641

16421642
def test_bug_gh140797(self):
1643-
# gh140797: capturing groups is not allowed in re.Scanner
1643+
# gh140797: Capturing groups are not allowed in re.Scanner
16441644

16451645
msg = "Cannot use capturing groups in re.Scanner"
16461646
# Capturing group throws an error

0 commit comments

Comments
 (0)