]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40055: test_distutils leaves warnings filters unchanged (GH-20095)
authorVictor Stinner <vstinner@python.org>
Fri, 15 May 2020 16:06:23 +0000 (18:06 +0200)
committerGitHub <noreply@github.com>
Fri, 15 May 2020 16:06:23 +0000 (18:06 +0200)
commit6e57237faf0da8904e0130a11350cae3c5062b82
treed5fcadc48c30c7db5b9e2e2a9699c2b794c94f51
parent003708bcf8f2c58d4b65f68318acf164d713e008
bpo-40055: test_distutils leaves warnings filters unchanged (GH-20095)

distutils.tests now saves/restores warnings filters to leave them
unchanged. Importing tests imports docutils which imports
pkg_resources which adds a warnings filter.
Lib/distutils/tests/__init__.py
Misc/NEWS.d/next/Tests/2020-05-15-01-21-44.bpo-40055.Xp4aP9.rst [new file with mode: 0644]