@@ -1930,7 +1930,7 @@ def test_text_doc_routines_in_class(self, cls=pydocfodder.B):
19301930 else :
19311931 self .assertIn (' | get(...) method of builtins.dict instance' , lines )
19321932 self .assertIn (' | dict_get = get(...) method of builtins.dict instance' , lines )
1933- self .assertIn (' | sin(... )' , lines )
1933+ self .assertIn (' | sin(object, / )' , lines )
19341934
19351935 lines = self .getsection (result , f' | Class methods { where } :' , ' | ' + '-' * 70 )
19361936 self .assertIn (' | B_classmethod(x)' , lines )
@@ -2020,7 +2020,7 @@ def test_text_doc_routines_in_module(self):
20202020 if not support .MISSING_C_DOCSTRINGS :
20212021 self .assertIn (' sin(x, /)' , lines )
20222022 else :
2023- self .assertIn (' sin(... )' , lines )
2023+ self .assertIn (' sin(object, / )' , lines )
20242024
20252025 def test_html_doc_routines_in_module (self ):
20262026 doc = pydoc .HTMLDoc ()
@@ -2065,7 +2065,7 @@ def test_html_doc_routines_in_module(self):
20652065 if not support .MISSING_C_DOCSTRINGS :
20662066 self .assertIn (' sin(x, /)' , lines )
20672067 else :
2068- self .assertIn (' sin(... )' , lines )
2068+ self .assertIn (' sin(object, / )' , lines )
20692069
20702070
20712071@unittest .skipIf (
0 commit comments