;
Ëâ"Ic               @   s}   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 Gd   d  Z d S(   u  
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.
i    Ni¤  c               C   s   t  S(   N(   u   TICKS(    (    (    u*   /mit/python/lib/python3.0/test/profilee.pyu   timer   s    c               C   s0   t  d 7a  t   t   t  d 7a  t d  d  S(   Nic   iĞ   i   (   u   TICKSu   helperu	   factorial(    (    (    u*   /mit/python/lib/python3.0/test/profilee.pyu   testfunc   s
    

c             C   sA   |  d k o" t  |  7a  t |  t |  d   St  d 7a  d Sd  S(   Ni    i   i   (   u   TICKSu   mulu	   factorial(   u   n(    (    u*   /mit/python/lib/python3.0/test/profilee.pyu	   factorial#   s
    

c             C   s   t  d 7a  |  | S(   Ni   (   u   TICKS(   u   au   b(    (    u*   /mit/python/lib/python3.0/test/profilee.pyu   mul0   s    
c               C   st   t  d 7a  t   t  d 7a  t   t  d 7a  t   t  d 7a  t   t  d 7a  t   t  d 7a  t   t  d 7a  d  S(   Ni   i   i   i   i   (   u   TICKSu   helper1u   helper2u   helper2_indirect(    (    (    u*   /mit/python/lib/python3.0/test/profilee.pyu   helper7   s    





c              C   sE   t  d 7a  t t   d  t  d 7a  g  }  |  j d  t j   d  S(   Ni
   u   fooi   i*   (   u   TICKSu   hasattru   Cu   appendu   sysu   exc_info(   u   lst(    (    u*   /mit/python/lib/python3.0/test/profilee.pyu   helper1I   s    

c               C   s   t    t d  d  S(   Ni   (   u   helper2u	   factorial(    (    (    u*   /mit/python/lib/python3.0/test/profilee.pyu   helper2_indirectT   s    c               C   s9   t  d 7a  t t   d  t  d 7a  t   t  d 7a  d  S(   Ni   u   bari   i   (   u   TICKSu   hasattru   Cu	   subhelper(    (    (    u*   /mit/python/lib/python3.0/test/profilee.pyu   helper2X   s
    

c           	   C   sT   t  d 7a  xC t d  D]5 }  y t   j Wq t k
 o t  d 7a  Yq Xq Wd  S(   Ni   i   (   u   TICKSu   rangeu   Cu   foou   AttributeError(   u   i(    (    u*   /mit/python/lib/python3.0/test/profilee.pyu	   subhelperb   s    
 c             B   s   |  Ee  Z d    Z d S(   c             C   s   t  d 7a  t  d  S(   Ni   (   u   TICKSu   AttributeError(   u   selfu   name(    (    u*   /mit/python/lib/python3.0/test/profilee.pyu   __getattr__n   s    
N(   u   __name__u
   __module__u   __getattr__(   u
   __locals__(    (    u*   /mit/python/lib/python3.0/test/profilee.pyu   Cm   s   
u   C(   u   __doc__u   sysu   TICKSu   timeru   testfuncu	   factorialu   mulu   helperu   helper1u   helper2_indirectu   helper2u	   subhelperu   C(    (    (    u*   /mit/python/lib/python3.0/test/profilee.pyu   <module>   s   		
						
	