
    ;e                     f    d Z ddlZdad Zd Zd Zd Zd Zd	 Zd
 Z	d Z
d Z G 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                      t           S )NTICKS     $/usr/lib/python3.11/test/profilee.pytimerr	      s    Lr   c                      t           dz  a t                       t                       t           dz  a t          d           d S )Nc         )r   helper	factorialr   r   r   testfuncr      s7     
RKE
HHH
HHH	SLEbMMMMMr   c                 z    | dk    r*t           | z  a t          | t          | dz
                      S t           dz  a dS )Nr         )r   mulr   )ns    r   r   r   #   s>     	1uu
1i!nn%%%qr   c                      t           dz  a | |z  S Nr   r   )abs     r   r   r   0   s     
QJEq5Lr   c                  :   t           dz  a t                       t           dz  a t                       t           dz  a t                       t           dz  a t                       t           dz  a t                       t           dz  a t                       t           dz  a d S )Nr               )r   helper1helper2helper2_indirectr   r   r   r   r   7   s     
QJEIII	QJEIII	QJEIII	QJEIII	QJEIII	QJE	QJEEEr   c                      t           dz  a t          t                      d           t           dz  a g } |                     d           t	          j                     d S )N
   foo   *   )r   hasattrCappendsysexc_info)lsts    r   r   r   I   sM     
RKEACC	RKE
CJJrNNNLNNNNNr   c                  @    t                       t          d           d S )Nr   )r    r   r   r   r   r!   r!   T   s    IIIaLLLLLr   c                      t           dz  a t          t                      d           t           dz  a t                       t           dz  a d S )Nr   bar      )r   r'   r(   	subhelperr   r   r   r    r    X   s@     
RKEACC	RKEKKK	RKEEEr   c                      t           dz  a t          d          D ]0} 	 t                      j         # t          $ r t           dz  a Y -w xY wd S )Nr   r   )r   ranger(   r$   AttributeError)is    r   r2   r2   b   sf     
QJE1XX  	CCGGG 	 	 	QJEEE	 s   1AAc                       e Zd Zd ZdS )r(   c                 $    t           dz  a t          r   )r   r5   )selfnames     r   __getattr__zC.__getattr__n   s     	
r   N)__name__
__module____qualname__r;   r   r   r   r(   r(   m   s#            r   r(   )__doc__r*   r   r	   r   r   r   r   r   r!   r    r2   r(   r   r   r   <module>r@      s     


 	          $	 	 	    	 	 	         r   