@@ -1943,7 +1943,7 @@ def test_text_doc_routines_in_class(self, cls=pydocfodder.B):
1943
1943
else :
1944
1944
self .assertIn (' | get(...) method of builtins.dict instance' , lines )
1945
1945
self .assertIn (' | dict_get = get(...) method of builtins.dict instance' , lines )
1946
- self .assertIn (' | sin(... )' , lines )
1946
+ self .assertIn (' | sin(object, / )' , lines )
1947
1947
1948
1948
lines = self .getsection (result , f' | Class methods { where } :' , ' | ' + '-' * 70 )
1949
1949
self .assertIn (' | B_classmethod(x)' , lines )
@@ -2033,7 +2033,7 @@ def test_text_doc_routines_in_module(self):
2033
2033
if not support .MISSING_C_DOCSTRINGS :
2034
2034
self .assertIn (' sin(x, /)' , lines )
2035
2035
else :
2036
- self .assertIn (' sin(... )' , lines )
2036
+ self .assertIn (' sin(object, / )' , lines )
2037
2037
2038
2038
def test_html_doc_routines_in_module (self ):
2039
2039
doc = pydoc .HTMLDoc ()
@@ -2078,7 +2078,7 @@ def test_html_doc_routines_in_module(self):
2078
2078
if not support .MISSING_C_DOCSTRINGS :
2079
2079
self .assertIn (' sin(x, /)' , lines )
2080
2080
else :
2081
- self .assertIn (' sin(... )' , lines )
2081
+ self .assertIn (' sin(object, / )' , lines )
2082
2082
2083
2083
2084
2084
@unittest .skipIf (
0 commit comments