diff options
author | Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | 2021-12-10 23:05:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 23:05:23 (GMT) |
commit | 810c1769f1c24ed907bdf3cc1086db4e602a28ae (patch) | |
tree | 22c3c684aacf875042c5783ec72560f293e58acd /Lib/test/test_inspect.py | |
parent | 0fe104fce7da709edddb701baa2249e3275db1fd (diff) | |
download | cpython-810c1769f1c24ed907bdf3cc1086db4e602a28ae.zip cpython-810c1769f1c24ed907bdf3cc1086db4e602a28ae.tar.gz cpython-810c1769f1c24ed907bdf3cc1086db4e602a28ae.tar.bz2 |
bpo-27062: add `__all__` to inspect module (GH-30003)
Diffstat (limited to 'Lib/test/test_inspect.py')
-rw-r--r-- | Lib/test/test_inspect.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index 33665cf..c25256d 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -107,6 +107,9 @@ class IsTestBase(unittest.TestCase): continue 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")) + def generator_function_example(self): for i in range(2): yield i |