summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorTomas R. <tomas.roun8@gmail.com>2024-12-03 16:08:39 (GMT)
committerGitHub <noreply@github.com>2024-12-03 16:08:39 (GMT)
commit8ba9f5bca9c0ce6130e1f4ba761a68f74f8457d0 (patch)
tree16e7ab36bd779602983dc8564ee490182988acb4 /Lib/test
parent412e11fe6e37f15971ef855f88b8b01bb3297679 (diff)
downloadcpython-8ba9f5bca9c0ce6130e1f4ba761a68f74f8457d0.zip
cpython-8ba9f5bca9c0ce6130e1f4ba761a68f74f8457d0.tar.gz
cpython-8ba9f5bca9c0ce6130e1f4ba761a68f74f8457d0.tar.bz2
gh-127347: Document `traceback.print_list` (#127348)
Previously, `traceback.print_list` didn't have a documentation entry and was not exposed in `traceback.__all__`. Now it has a documentation entry and is exposed in `__all__`.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_traceback.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py
index ec69412..ea8d9f2 100644
--- a/Lib/test/test_traceback.py
+++ b/Lib/test/test_traceback.py
@@ -4488,9 +4488,8 @@ class MiscTest(unittest.TestCase):
def test_all(self):
expected = set()
- denylist = {'print_list'}
for name in dir(traceback):
- if name.startswith('_') or name in denylist:
+ if name.startswith('_'):
continue
module_object = getattr(traceback, name)
if getattr(module_object, '__module__', None) == 'traceback':