From 04f7875c4489bbe817e76f9f33773c8c21ba4ec2 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Mon, 21 Aug 2023 13:51:31 +0900 Subject: [PATCH] gh-107526: Fix test_module_level_callable_unrepresentable_default (gh-108187) --- Lib/test/test_pydoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py index fe4e37d4858c85..9b5c11bf853fd9 100644 --- a/Lib/test/test_pydoc.py +++ b/Lib/test/test_pydoc.py @@ -1232,7 +1232,7 @@ def test_bound_builtin_classmethod_o(self): def test_module_level_callable_unrepresentable_default(self): self.assertEqual(self._get_summary_line(getattr), - "getattr(object, name, default=, /)") + "getattr(...)") def test_builtin_staticmethod_unrepresentable_default(self): self.assertEqual(self._get_summary_line(str.maketrans),