
    daf3                         d  Z d Zd Z G d d      Z G d d      Z G d d      Z G d	 d
      Z e       j                  Z	ddl
mZ eed               Zy)c                       yzSome unrelated info.N r       ;/root/Python-3.12.4/Lib/test/test_doctest/doctest_lineno.pyfunc_with_docstringr          r   c                       y Nr   r   r   r   func_without_docstringr      s    r   c                       y)zp
    This function really contains a test case.

    >>> func_with_doctest.__name__
    'func_with_doctest'
       r   r   r   r   func_with_doctestr      s     r   c                       e Zd ZdZy)ClassWithDocstringz!Some unrelated class information.N__name__
__module____qualname____doc__r   r   r   r   r      s    +r   r   c                       e Zd Zy)ClassWithoutDocstringN)r   r   r   r   r   r   r   r      s    r   r   c                       e Zd ZdZy)ClassWithDoctestzgThis class really has a test case in it.

    >>> ClassWithDoctest.__name__
    'ClassWithDoctest'
    Nr   r   r   r   r   r      s    r   r   c                   >    e Zd Zd Zd Zd Zed        Zed        Z	y)MethodWrapperc                      y)zMethod with a docstring.Nr   selfs    r   method_with_docstringz#MethodWrapper.method_with_docstring'   r   r   c                      y r
   r   r   s    r   method_without_docstringz&MethodWrapper.method_without_docstring*   s    r   c                      y)zz
        This has a doctest!
        >>> MethodWrapper.method_with_doctest.__name__
        'method_with_doctest'
        Nr   r   s    r   method_with_doctestz!MethodWrapper.method_with_doctest-   r   r   c                      y)z
        This has a doctest!
        >>> MethodWrapper.classmethod_with_doctest.__name__
        'classmethod_with_doctest'
        Nr   )clss    r   classmethod_with_doctestz&MethodWrapper.classmethod_with_doctest4   r   r   c                      y)z~
        This has a doctest!
        >>> MethodWrapper.property_with_doctest.__name__
        'property_with_doctest'
        Nr   r   s    r   property_with_doctestz#MethodWrapper.property_with_doctest<   r   r   N)
r   r   r   r   r!   r#   classmethodr&   propertyr(   r   r   r   r   r   &   s9    '    r   r       )	decoratorc                       yr   r   r   r   r   func_with_docstring_wrappedr.   K   r   r   N)r   r   r   r   r   r   r   object__str__str_wrappertest.test_doctest.decorator_modr,   r.   r   r   r   <module>r3      sj   	, ,	 	  > h 6

  r   