diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-22 10:00:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 10:00:07 (GMT) |
commit | b26a7b78c9658a9b888f56ce3dc8cfae127d1eca (patch) | |
tree | 230063ca9ea66db576baa8678dde3f9d1a19d713 /Lib/test/test_ast.py | |
parent | 47f60c3f67b2914af0c85227ddffc583cea72791 (diff) | |
download | cpython-b26a7b78c9658a9b888f56ce3dc8cfae127d1eca.zip cpython-b26a7b78c9658a9b888f56ce3dc8cfae127d1eca.tar.gz cpython-b26a7b78c9658a9b888f56ce3dc8cfae127d1eca.tar.bz2 |
[3.12] Fix test_generators: save/restore warnings filters (GH-108246) (#108249)
Fix test_generators: save/restore warnings filters (GH-108246)
Previously, depending on existing filters, the test
could modify the warnings and so fail as "env changed".
(cherry picked from commit 531930f47f6b2a548d31e62cb4ad3e215a24bf53)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Lib/test/test_ast.py')
0 files changed, 0 insertions, 0 deletions