+
    ÆÚjü/  ã                   óÈ   € R t ^ RIHt ^ RIHt ]P                  t]P
                  t]P                  t ! R R]P                  4      t]	R8X  d   ]P                  ! 4        R# R# )z!Tests for fire docstrings module.)Ú
docstrings)Ú	testutilsc                   óŒ   a € ] tR t^t o R tR tR tR tR tR t	R t
R tR	 tR
 tR tR tR tR tR tR tR tR tRtV tR# )ÚDocstringsTestc                óp   € R p\         P                  ! V4      p\        R R7      pV P                  W24       R# )úA simple one line docstring.©ÚsummaryN©r   ÚparseÚDocstringInfoÚassertEqual©ÚselfÚ	docstringÚdocstring_infoÚexpected_docstring_infos   &   Ú‹/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/fire/docstrings_test.pyÚtest_one_line_simpleÚ#DocstringsTest.test_one_line_simple   s6   € Ø2€IÜ×%Ò% iÓ0€NÜ+Ø.ôÐð 	×ÑÐ,Ö=ó    c                óp   € R p\         P                  ! V4      p\        RR7      pV P                  W24       R# )z(
      A simple one line docstring.
    r   r   Nr
   r   s   &   r   Útest_one_line_simple_whitespaceÚ.DocstringsTest.test_one_line_simple_whitespace%   s:   € ð€Iô  ×%Ò% iÓ0€NÜ+Ø.ôÐð 	×ÑÐ,Ö=r   c                óp   € R p\         P                  ! V4      p\        RR7      pV P                  W24       R# )z”A one line docstring that is both a little too verbose and a little too long so it keeps going well beyond a reasonable length for a one-liner.
    z�A one line docstring that is both a little too verbose and a little too long so it keeps going well beyond a reasonable length for a one-liner.r   Nr
   r   s   &   r   Útest_one_line_too_longÚ%DocstringsTest.test_one_line_too_long/   s<   € ð€Iô  ×%Ò% iÓ0€NÜ+ðôÐð
 	×ÑÐ,Ö=r   c                óp   € R p\         P                  ! V4      p\        RR7      pV P                  W24       R# )ztA one line docstring that is both a little too verbose and a little too long
    so it runs onto a second line.
    úkA one line docstring that is both a little too verbose and a little too long so it runs onto a second line.r   Nr
   r   s   &   r   Útest_one_line_runs_overÚ&DocstringsTest.test_one_line_runs_over<   s<   € ð€Iô  ×%Ò% iÓ0€NÜ+ð;ôÐð 	×ÑÐ,Ö=r   c                óp   € R p\         P                  ! V4      p\        RR7      pV P                  W24       R# )z}
      A one line docstring that is both a little too verbose and a little too long
      so it runs onto a second line.
    r   r   Nr
   r   s   &   r   Ú"test_one_line_runs_over_whitespaceÚ1DocstringsTest.test_one_line_runs_over_whitespaceI   s<   € ð€Iô  ×%Ò% iÓ0€NÜ+ð;ôÐð 	×ÑÐ,Ö=r   c           	     ó¢   € R p\         P                  ! V4      p\        R\        RRR7      \        RRR7      .R7      pV P	                  W24       R# )	z_One line description.

    Args:
      arg1: arg1_description
      arg2: arg2_description
    zOne line description.Úarg1Úarg1_description©ÚnameÚdescriptionÚarg2Úarg2_description©r	   ÚargsN©r   r   r   ÚArgInfor   r   s   &   r   Útest_google_format_args_onlyÚ+DocstringsTest.test_google_format_args_onlyU   sU   € ð€Iô  ×%Ò% iÓ0€NÜ+Ø'ä˜Ð-?Ô@Ü˜Ð-?Ô@ð
ôÐð 	×ÑÐ,Ö=r   c                óˆ   € R p\         P                  ! V4      p\        \        RRR7      .R7      pV P	                  W24       R# )z+
    Args:
      args: arg_description
    r-   Úarg_descriptionr'   )r-   Nr.   r   s   &   r   Ú!test_google_format_arg_named_argsÚ0DocstringsTest.test_google_format_arg_named_argsf   sG   € ð€Iô  ×%Ò% iÓ0€NÜ+ä˜Ð->Ô?ð
ôÐð
 	×ÑÐ,Ö=r   c                óª   € R p\         P                  ! V4      p\        RR\        RRRR7      \        RRR	R7      .R
R7      pV P	                  W24       R# )a*  Docstring summary.

    This is a longer description of the docstring. It spans multiple lines, as
    is allowed.

    Args:
        param1 (int): The first parameter.
        param2 (str): The second parameter.

    Returns:
        bool: The return value. True for success, False otherwise.
    úDocstring summary.úVThis is a longer description of the docstring. It spans multiple lines, as
is allowed.Úparam1ÚintúThe first parameter.©r(   Útyper)   Úparam2ÚstrúThe second parameter.z:bool: The return value. True for success, False otherwise.©r	   r)   r-   ÚreturnsNr.   r   s   &   r   Ú)test_google_format_typed_args_and_returnsÚ8DocstringsTest.test_google_format_typed_args_and_returnss   sj   € ð€Iô  ×%Ò% iÓ0€NÜ+Ø$ð*ô ˜¨Ø 6ô8ä˜¨Ø 7ô9ð
ð MôÐð 	×ÑÐ,Ö=r   c                ó¨   € R p\         P                  ! V4      p\        RR\        RRRR7      \        RRR	R7      .R
7      pV P	                  W24       R# )a  Docstring summary.

    This is a longer description of the docstring. It spans multiple lines, as
    is allowed.

    Args:
        param1 (int): The first parameter.
        param2 (str): The second parameter. This has a lot of text, enough to
        cover two lines.
    r7   r8   r9   r:   r;   r<   r>   r?   úHThe second parameter. This has a lot of text, enough to cover two lines.©r	   r)   r-   Nr.   r   s   &   r   Ú,test_google_format_multiline_arg_descriptionÚ;DocstringsTest.test_google_format_multiline_arg_description�   sf   € ð	€Iô  ×%Ò% iÓ0€NÜ+Ø$ð*ô ˜¨Ø 6ô8ä˜¨ð!=ô>ð
ô	Ðð 	×ÑÐ,Ö=r   c                ó¬   € R p\         P                  ! V4      p\        RR\        RRRR7      \        RRR	R7      .R
RR7      pV P	                  W24       R# )aD  Docstring summary.

    This is a longer description of the docstring. It spans across multiple
    lines.

    :param arg1: Description of arg1.
    :type arg1: str.
    :param arg2: Description of arg2.
    :type arg2: bool.
    :returns:  int -- description of the return value.
    :raises: AttributeError, KeyError
    r7   úNThis is a longer description of the docstring. It spans across multiple
lines.r%   r?   úDescription of arg1.r<   r*   ÚboolúDescription of arg2.z'int -- description of the return value.zAttributeError, KeyError)r	   r)   r-   rB   ÚraisesNr.   r   s   &   r   Ú&test_rst_format_typed_args_and_returnsÚ5DocstringsTest.test_rst_format_typed_args_and_returns©   sl   € ð€Iô  ×%Ò% iÓ0€NÜ+Ø$ð"ô ˜ eØ 6ô8ä˜ fØ 6ô8ð
ð :Ø)ôÐð 	×ÑÐ,Ö=r   c                óª   € R p\         P                  ! V4      p\        RR\        RRRR7      \        RRR	R7      .R
R7      pV P	                  W24       R# )a:  Docstring summary.

    This is a longer description of the docstring. It spans across multiple
    lines.

    Parameters
    ----------
    param1 : int
        The first parameter.
    param2 : str
        The second parameter.

    Returns
    -------
    bool
        True if successful, False otherwise.
    r7   rK   r9   r:   r;   r<   r>   r?   r@   z)bool True if successful, False otherwise.rA   Nr.   r   s   &   r   Ú(test_numpy_format_typed_args_and_returnsÚ7DocstringsTest.test_numpy_format_typed_args_and_returnsÆ   si   € ð€Iô"  ×%Ò% iÓ0€NÜ+Ø$ð"ô ˜¨Ø 6ô8ä˜¨Ø 7ô9ð
ð <ôÐð 	×ÑÐ,Ö=r   c                ó¨   € R p\         P                  ! V4      p\        RR\        RRRR7      \        RRR	R7      .R
7      pV P	                  W24       R# )a&  Docstring summary.

    This is a longer description of the docstring. It spans across multiple
    lines.

    Parameters
    ----------
    param1 : int
        The first parameter.
    param2 : str
        The second parameter. This has a lot of text, enough to cover two
        lines.
    r7   rK   r9   r:   r;   r<   r>   r?   rF   rG   Nr.   r   s   &   r   Ú+test_numpy_format_multiline_arg_descriptionÚ:DocstringsTest.test_numpy_format_multiline_arg_descriptionè   sf   € ð€Iô  ×%Ò% iÓ0€NÜ+Ø$ð"ô ˜¨Ø 6ô8ä˜¨ð!=ô>ð
ô	Ðð 	×ÑÐ,Ö=r   c                ór   € R p\         P                  ! V4      p\        RRR7      pV P                  W24       R# )zÄDocstring summary.

    This is the first section of a docstring description.

    This is the second section of a docstring description. This docstring
    description has just two sections.
    r7   zŸThis is the first section of a docstring description.

This is the second section of a docstring description. This docstring
description has just two sections.)r	   r)   Nr
   r   s   &   r   Útest_multisection_docstringÚ*DocstringsTest.test_multisection_docstring  s?   € ð€Iô  ×%Ò% iÓ0€NÜ+Ø$ð-ôÐð 	×ÑÐ,Ö=r   c                ón   € R p\         P                  ! V4      pV P                  RVP                  4       R# )ztInspired by requests HTTPAdapter docstring.

    :param x: Simple param.

    Usage:

      >>> import requests
    z+Inspired by requests HTTPAdapter docstring.N)r   r   r   r	   )r   r   r   s   &  r   Ú)test_google_section_with_blank_first_lineÚ8DocstringsTest.test_google_section_with_blank_first_line  s5   € ð€Iô  ×%Ò% iÓ0€NØ×ÑÐBØ#×+Ñ+ö-r   c                ó6   € R p\         P                  ! V4       R# )z‰Docstring summary.

    args: raises ::
    :
    pathological docstrings should not fail, and ideally should behave
    reasonably.
    N)r   r   )r   r   s   & r   Útest_ill_formed_docstringÚ(DocstringsTest.test_ill_formed_docstring%  s   € ð€Iô ×Ò�YÖr   c                ó`   € . ROpR.pV P                  V\        P                  ! V4      4       R# )ú   ú  foo  N)rb   rc   rb   )r   r   Ú_strip_blank_lines)r   ÚlinesÚexpected_outputs   &  r   Útest_strip_blank_linesÚ%DocstringsTest.test_strip_blank_lines/  s)   € Ú%€EØ �k€Oà×Ñ�_¤j×&CÒ&CÀEÓ&JÖKr   c                óÂ   € R p\         P                  ! V4      p\        RR\        RRRR7      \        RRR	R7      \        R
RRR7      .R7      pV P	                  W24       R# )z£
     Greets name.

     Arguments
     ---------
     name : str
         name, default : World
     arg2 : int
         arg2, default:None
     arg3 : bool
     zGreets name.Nr(   r?   zname, default : Worldr<   r*   r:   zarg2, default:NoneÚarg3rM   rG   r.   r   s   &   r   Útest_numpy_colon_in_descriptionÚ.DocstringsTest.test_numpy_colon_in_description5  sl   € ð
	€Iô  ×%Ò% iÓ0€NÜ+ØØä˜ eØ 7ô9ä˜ eØ 4ô6ä˜ f¸$Ô?ð
ô
Ðð 	×ÑÐ,Ö=r   c                óÀ   € R p\         P                  ! V4      p\        R\        RRRR7      \	        RRRR7      \	        R	RR
R7      .R7      pV P                  W24       R# )zÆDocstring summary.

    :param arg1: Description of arg1.
    :type arg1: str.
    :key arg2: Description of arg2.
    :type arg2: bool.
    :key arg3: Description of arg3.
    :type arg3: str.
    r7   r%   r?   rL   r<   r*   rM   rN   rj   zDescription of arg3.r,   N)r   r   r   r/   Ú	KwargInfor   r   s   &   r   Ú%test_rst_format_typed_args_and_kwargsÚ4DocstringsTest.test_rst_format_typed_args_and_kwargsO  sl   € ð€Iô  ×%Ò% iÓ0€NÜ+Ø$ä˜ eØ 6ô8ä˜6¨Ø"8ô:ä˜6¨Ø"8ô:ð
ô
Ðð 	×ÑÐ,Ö=r   © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   r   r   r"   r0   r4   rC   rH   rP   rS   rV   rY   r\   r_   rg   rk   ro   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      sf   ø‡ € ò>ò>ò>ò>ò
>ò>ò">ò>ò8>ò4>ò: >òD>ò:>ò&-ò òLò>÷4>ð >r   r   Ú__main__N)Ú__doc__Úfirer   r   r   r/   rn   ÚBaseTestCaser   rr   Úmainrq   r   r   Ú<module>r~      sa   ðñ (å Ý ð ×(Ñ(€Ø
×
Ñ
€Ø× Ñ €	ôJ>�Y×+Ñ+ô J>ðZ
 ˆzÔØ‡.‚.Öñ r   