@@ -1902,7 +1902,7 @@ def test_text_doc_routines_in_class(self, cls=pydocfodder.B):
1902
1902
else :
1903
1903
self .assertIn (' | get(...) method of builtins.dict instance' , lines )
1904
1904
self .assertIn (' | dict_get = get(...) method of builtins.dict instance' , lines )
1905
- self .assertIn (' | sin(... )' , lines )
1905
+ self .assertIn (' | sin(object, / )' , lines )
1906
1906
1907
1907
lines = self .getsection (result , f' | Class methods { where } :' , ' | ' + '-' * 70 )
1908
1908
self .assertIn (' | B_classmethod(x)' , lines )
@@ -1992,7 +1992,7 @@ def test_text_doc_routines_in_module(self):
1992
1992
if not support .MISSING_C_DOCSTRINGS :
1993
1993
self .assertIn (' sin(x, /)' , lines )
1994
1994
else :
1995
- self .assertIn (' sin(... )' , lines )
1995
+ self .assertIn (' sin(object, / )' , lines )
1996
1996
1997
1997
def test_html_doc_routines_in_module (self ):
1998
1998
doc = pydoc .HTMLDoc ()
@@ -2037,7 +2037,7 @@ def test_html_doc_routines_in_module(self):
2037
2037
if not support .MISSING_C_DOCSTRINGS :
2038
2038
self .assertIn (' sin(x, /)' , lines )
2039
2039
else :
2040
- self .assertIn (' sin(... )' , lines )
2040
+ self .assertIn (' sin(object, / )' , lines )
2041
2041
2042
2042
2043
2043
@unittest .skipIf (
0 commit comments