Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tests for warnings in the re module more strict #122798

Closed
serhiy-storchaka opened this issue Aug 7, 2024 · 0 comments
Closed

Make tests for warnings in the re module more strict #122798

serhiy-storchaka opened this issue Aug 7, 2024 · 0 comments
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes tests Tests in the Lib/test dir topic-regex

Comments

@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Aug 7, 2024

#122357 passed existing tests because tests for warnings in the re module only tested re.compile() and did not test stack level.

Linked PRs

@serhiy-storchaka serhiy-storchaka added tests Tests in the Lib/test dir topic-regex 3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes labels Aug 7, 2024
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Aug 7, 2024
* Test warning messages.
* Test stack level for re.compile() and re.findall().
serhiy-storchaka added a commit that referenced this issue Aug 7, 2024
…22799)

* Test warning messages.
* Test stack level for re.compile() and re.findall().
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Aug 7, 2024
…pythonGH-122799)

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

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Aug 7, 2024
…pythonGH-122799)

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

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
blhsing pushed a commit to blhsing/cpython that referenced this issue Aug 22, 2024
…pythonGH-122799)

* Test warning messages.
* Test stack level for re.compile() and re.findall().
Yhg1s pushed a commit that referenced this issue Sep 2, 2024
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 d2e5be1)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
ambv pushed a commit that referenced this issue Sep 6, 2024
GH-122799) (#122805)

(cherry picked from commit d2e5be1)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@ambv ambv closed this as completed Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes tests Tests in the Lib/test dir topic-regex
Projects
None yet
Development

No branches or pull requests

2 participants