@@ -1930,7 +1930,7 @@ def test_text_doc_routines_in_class(self, cls=pydocfodder.B):
1930
1930
else :
1931
1931
self .assertIn (' | get(...) method of builtins.dict instance' , lines )
1932
1932
self .assertIn (' | dict_get = get(...) method of builtins.dict instance' , lines )
1933
- self .assertIn (' | sin(... )' , lines )
1933
+ self .assertIn (' | sin(object, / )' , lines )
1934
1934
1935
1935
lines = self .getsection (result , f' | Class methods { where } :' , ' | ' + '-' * 70 )
1936
1936
self .assertIn (' | B_classmethod(x)' , lines )
@@ -2020,7 +2020,7 @@ def test_text_doc_routines_in_module(self):
2020
2020
if not support .MISSING_C_DOCSTRINGS :
2021
2021
self .assertIn (' sin(x, /)' , lines )
2022
2022
else :
2023
- self .assertIn (' sin(... )' , lines )
2023
+ self .assertIn (' sin(object, / )' , lines )
2024
2024
2025
2025
def test_html_doc_routines_in_module (self ):
2026
2026
doc = pydoc .HTMLDoc ()
@@ -2065,7 +2065,7 @@ def test_html_doc_routines_in_module(self):
2065
2065
if not support .MISSING_C_DOCSTRINGS :
2066
2066
self .assertIn (' sin(x, /)' , lines )
2067
2067
else :
2068
- self .assertIn (' sin(... )' , lines )
2068
+ self .assertIn (' sin(object, / )' , lines )
2069
2069
2070
2070
2071
2071
@unittest .skipIf (
0 commit comments