]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-121279: Fix importlib DeprecatedAttrsTests (#121319)
authorVictor Stinner <vstinner@python.org>
Wed, 3 Jul 2024 11:57:05 +0000 (13:57 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Jul 2024 11:57:05 +0000 (13:57 +0200)
commitec0f801a7222a256a20d01c99aca69e6aa4b10ae
treed5107a03ce7c1371bccc7e850d4aaf8dd52f2998
parent251667340e9994ed209e2f53f923ac9fb24b3974
[3.13] gh-121279: Fix importlib DeprecatedAttrsTests (#121319)

Delete attributes after getting them, so the warning is emitted again
when the test is run multiple times (ex: when checking for reference
leaks).
Lib/test/test_importlib/test_abc.py