Source: sphinx
Version: 9.1.0-7
Severity: serious
Tags: ftbfs
Justification: ftbfs



=================================== FAILURES ===================================
________________________________ test_cfunction ________________________________
    def test_cfunction() -> None:
        actual = do_autodoc('function', 'time.asctime')
>       assert actual == [
            '',
            '.. py:function:: asctime([tuple]) -> string',
            '   :module: time',
            '',
            "   Convert a time tuple to a string, e.g. 'Sat Jun 06 16:26:11 
1998'.",
            '   When the time tuple is not present, current time as returned by 
localtime()',
            '   is used.',
            '',
        ]
E       AssertionError: assert ['', '.. py:f...ltime()', ...] == ['', '.. 
py:f...ltime()', ...]
E         
E         At index 1 diff: '.. py:function:: asctime([time_tuple]) -> string' 
!= '.. py:function:: asctime([tuple]) -> string'
E         
E         Full diff:
E           [
E               '',
E         -     '.. py:function:: asctime([tuple]) -> string',...
E         
E         ...Full output truncated (10 lines hidden), use '-vv' to show
tests/test_ext_autodoc/test_ext_autodoc_autofunction.py:126: AssertionError

Reply via email to