#122357 passed existing tests because tests for warnings in the `re` module only tested `re.compile()` and did not test stack level. <!-- gh-linked-prs --> ### Linked PRs * gh-122799 * gh-122804 * gh-122805 <!-- /gh-linked-prs -->
#122357 passed existing tests because tests for warnings in the
remodule only testedre.compile()and did not test stack level.Linked PRs