diff options
author | Dong-hee Na <donghee.na@python.org> | 2023-08-21 04:51:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-21 04:51:31 (GMT) |
commit | 04f7875c4489bbe817e76f9f33773c8c21ba4ec2 (patch) | |
tree | 9e6de0221a289ba25302e55af08c06cf52fb8fee /Lib/test/test_pydoc.py | |
parent | db6dc6ce41f42ec2cb4fdfbc0a099114f42e888f (diff) | |
download | cpython-04f7875c4489bbe817e76f9f33773c8c21ba4ec2.zip cpython-04f7875c4489bbe817e76f9f33773c8c21ba4ec2.tar.gz cpython-04f7875c4489bbe817e76f9f33773c8c21ba4ec2.tar.bz2 |
gh-107526: Fix test_module_level_callable_unrepresentable_default (gh-108187)
Diffstat (limited to 'Lib/test/test_pydoc.py')
-rw-r--r-- | Lib/test/test_pydoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py index fe4e37d..9b5c11bf 100644 --- a/Lib/test/test_pydoc.py +++ b/Lib/test/test_pydoc.py @@ -1232,7 +1232,7 @@ class TestDescriptions(unittest.TestCase): def test_module_level_callable_unrepresentable_default(self): self.assertEqual(self._get_summary_line(getattr), - "getattr(object, name, default=<unrepresentable>, /)") + "getattr(...)") def test_builtin_staticmethod_unrepresentable_default(self): self.assertEqual(self._get_summary_line(str.maketrans), |