]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-122798: Make tests for warnings in the re module more strict (GH-122799...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Sep 2024 10:59:15 +0000 (12:59 +0200)
committerGitHub <noreply@github.com>
Mon, 2 Sep 2024 10:59:15 +0000 (12:59 +0200)
commit60e4c3f71028d599026ca9d9deb51469f6d34fd8
tree3e326093ffebd1c3c6ad7370b34fd27988928b90
parentf07039866949919183135297bfb37a75b9da3ddf
[3.13] gh-122798: Make tests for warnings in the re module more strict (GH-122799) (#122804)

gh-122798: Make tests for warnings in the re module more strict (GH-122799)

* Test warning messages.
* Test stack level for re.compile() and re.findall().
(cherry picked from commit d2e5be1f39bc3d48c7bc8c146c4bcadee266672a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_re.py