]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46442: improve and rename testExceptionCleanupNames (GH-30758)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 22 Jan 2022 07:37:32 +0000 (23:37 -0800)
committerGitHub <noreply@github.com>
Sat, 22 Jan 2022 07:37:32 +0000 (23:37 -0800)
commite064af564c8580285a76199229864ddfb1e50c0f
tree22b63f32b18afe51be7c0612170e4ae9c69254ac
parentb37f3e993a978eacf05c5fddd716be2d31f18a8d
bpo-46442: improve and rename testExceptionCleanupNames (GH-30758)

The test tested that explicitly deleting the local variable bound to the exception
did not cause problems, but it did not test what it actually claimed to test, i.e.
that the variable is deleted automatically.
(cherry picked from commit 82c53229e18f5853c82cb8ab6b9af1925a0e9e58)

Co-authored-by: Yellow Dusk <yellow.dusk1590@fastmail.com>
Lib/test/test_exceptions.py