diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-02-03 09:20:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 09:20:08 (GMT) |
commit | 0cbdd2131195b0d313762968f604e80a3e65ca9f (patch) | |
tree | 3f512c22e4ef6bbfc9d2246ad26446271e0e3ce7 /Lib/test/test_inspect.py | |
parent | 6394e981adaca2c0daa36c8701611e250d74024c (diff) | |
download | cpython-0cbdd2131195b0d313762968f604e80a3e65ca9f.zip cpython-0cbdd2131195b0d313762968f604e80a3e65ca9f.tar.gz cpython-0cbdd2131195b0d313762968f604e80a3e65ca9f.tar.bz2 |
bpo-46565: `del` loop vars that are leaking into module namespaces (GH-30993)
Diffstat (limited to 'Lib/test/test_inspect.py')
-rw-r--r-- | Lib/test/test_inspect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index 76fa6f7..a553431 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -108,7 +108,7 @@ class IsTestBase(unittest.TestCase): self.assertFalse(other(obj), 'not %s(%s)' % (other.__name__, exp)) def test__all__(self): - support.check__all__(self, inspect, not_exported=("k", "v", "mod_dict", "modulesbyfile")) + support.check__all__(self, inspect, not_exported=("modulesbyfile",)) def generator_function_example(self): for i in range(2): |