Skip to content

Commit 04f7875

Browse files
authored
gh-107526: Fix test_module_level_callable_unrepresentable_default (gh-108187)
1 parent db6dc6c commit 04f7875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_pydoc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ def test_bound_builtin_classmethod_o(self):
12321232

12331233
def test_module_level_callable_unrepresentable_default(self):
12341234
self.assertEqual(self._get_summary_line(getattr),
1235-
"getattr(object, name, default=<unrepresentable>, /)")
1235+
"getattr(...)")
12361236

12371237
def test_builtin_staticmethod_unrepresentable_default(self):
12381238
self.assertEqual(self._get_summary_line(str.maketrans),

0 commit comments

Comments
 (0)