@@ -1943,7 +1943,7 @@ def test_text_doc_routines_in_class(self, cls=pydocfodder.B):
19431943 else :
19441944 self .assertIn (' | get(...) method of builtins.dict instance' , lines )
19451945 self .assertIn (' | dict_get = get(...) method of builtins.dict instance' , lines )
1946- self .assertIn (' | sin(... )' , lines )
1946+ self .assertIn (' | sin(object, / )' , lines )
19471947
19481948 lines = self .getsection (result , f' | Class methods { where } :' , ' | ' + '-' * 70 )
19491949 self .assertIn (' | B_classmethod(x)' , lines )
@@ -2033,7 +2033,7 @@ def test_text_doc_routines_in_module(self):
20332033 if not support .MISSING_C_DOCSTRINGS :
20342034 self .assertIn (' sin(x, /)' , lines )
20352035 else :
2036- self .assertIn (' sin(... )' , lines )
2036+ self .assertIn (' sin(object, / )' , lines )
20372037
20382038 def test_html_doc_routines_in_module (self ):
20392039 doc = pydoc .HTMLDoc ()
@@ -2078,7 +2078,7 @@ def test_html_doc_routines_in_module(self):
20782078 if not support .MISSING_C_DOCSTRINGS :
20792079 self .assertIn (' sin(x, /)' , lines )
20802080 else :
2081- self .assertIn (' sin(... )' , lines )
2081+ self .assertIn (' sin(object, / )' , lines )
20822082
20832083
20842084@unittest .skipIf (
0 commit comments