]> 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:34:29 +0000 (23:34 -0800)
committerGitHub <noreply@github.com>
Sat, 22 Jan 2022 07:34:29 +0000 (23:34 -0800)
commitd4a9e34401d519250d3b3744cd10394069f748c1
treeda5e2d0d78c2ac5ed11699cfa62c0eb6e6691608
parent46e6aad12958d3b73c5377ec034d056bb1a36d65
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