3
r«Y]á  ã               @   sj   d Z ddlZdadd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Zdd„ Zdd„ Z	dd„ Z
dd„ ZG dd„ dƒZdS )a–  
Input for test_profile.py and test_cprofile.py.

IMPORTANT: This stuff is touchy. If you modify anything above the
test class you'll have to regenerate the stats by running the two
test files.

*ALL* NUMBERS in the expected output are relevant.  If you change
the formatting of pstats, please don't just regenerate the expected
output without checking very carefully that not a single number has
changed.
é    Ni¤  c               C   s   t S )N)ÚTICKS© r   r   úlib/python3.6/test/profilee.pyÚtimer   s    r   c               C   s(   t d7 a tƒ  tƒ  t d7 a tdƒ d S )Néc   é«   é   )r   ÚhelperÚ	factorialr   r   r   r   Útestfunc   s
    r   c             C   s2   | dkr"t | 7 a t| t| d ƒƒS t d7 a dS d S )Nr   é   é   )r   Úmulr
   )Únr   r   r   r
   #   s
    r
   c             C   s   t d7 a | | S )Nr   )r   )ÚaÚbr   r   r   r   0   s    r   c               C   s`   t d7 a tƒ  t d7 a tƒ  t d7 a tƒ  t d7 a tƒ  t d7 a tƒ  t d7 a tƒ  t d7 a d S )Nr   é   é   é   é   )r   Úhelper1Úhelper2Úhelper2_indirectr   r   r   r   r	   7   s    r	   c              C   s6   t d7 a ttƒ dƒ t d7 a g } | jdƒ tjƒ  d S )Né
   Úfooé   é*   )r   ÚhasattrÚCÚappendÚsysÚexc_info)Zlstr   r   r   r   I   s    
r   c               C   s   t ƒ  tdƒ d S )Nr   )r   r
   r   r   r   r   r   T   s    r   c               C   s.   t d7 a ttƒ dƒ t d7 a tƒ  t d7 a d S )Nr   Zbaré   é   )r   r   r   Ú	subhelperr   r   r   r   r   X   s
    r   c              C   sH   t d7 a x:tdƒD ].} ytƒ j W q tk
r>   t d7 a Y qX qW d S )Nr   r   )r   Úranger   r   ÚAttributeError)Úir   r   r   r$   b   s    r$   c               @   s   e Zd Zdd„ ZdS )r   c             C   s   t d7 a t‚d S )Nr   )r   r&   )ÚselfÚnamer   r   r   Ú__getattr__n   s    zC.__getattr__N)Ú__name__Ú
__module__Ú__qualname__r*   r   r   r   r   r   m   s   r   )Ú__doc__r    r   r   r   r
   r   r	   r   r   r   r$   r   r   r   r   r   Ú<module>   s   

