diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-07-08 12:15:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-08 12:15:54 (GMT) |
commit | 60ade0cb2929b180a50feb288a760038a072ef76 (patch) | |
tree | a96aaa3c21b24afd1d2922ed9a28602f82604394 /Lib/test | |
parent | 48f58e02430f046d4b039cefce3856b934b02627 (diff) | |
download | cpython-60ade0cb2929b180a50feb288a760038a072ef76.zip cpython-60ade0cb2929b180a50feb288a760038a072ef76.tar.gz cpython-60ade0cb2929b180a50feb288a760038a072ef76.tar.bz2 |
[3.12] gh-106510: Fix DEBUG output for atomic group (GH-106511) (GH-106548)
(cherry picked from commit 74ec02e9490d8aa086aa9ad9d1d34d2ad999b5af)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_re.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_re.py b/Lib/test/test_re.py index a05a1c9..406b665 100644 --- a/Lib/test/test_re.py +++ b/Lib/test/test_re.py @@ -2512,7 +2512,10 @@ ELSE def test_atomic_group(self): self.assertEqual(get_debug_out(r'(?>ab?)'), '''\ -ATOMIC_GROUP [(LITERAL, 97), (MAX_REPEAT, (0, 1, [(LITERAL, 98)]))] +ATOMIC_GROUP + LITERAL 97 + MAX_REPEAT 0 1 + LITERAL 98 0. INFO 4 0b0 1 2 (to 5) 5: ATOMIC_GROUP 11 (to 17) |