Your IP : 216.73.216.213
�
��f� c @ s� 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 Gd d � 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( ( ( u2 /opt/alt/python33/lib64/python3.3/test/profilee.pyu timer s u timerc C s0 t d 7a t � t � t d 7a t d � d S( Nic i� i ( u TICKSu helperu factorial( ( ( u2 /opt/alt/python33/lib64/python3.3/test/profilee.pyu testfunc s
u testfuncc C s? | d k r- t | 7a t | t | d � � St d 7a d Sd S( Ni i i ( u TICKSu mulu factorial( u n( ( u2 /opt/alt/python33/lib64/python3.3/test/profilee.pyu factorial# s
u factorialc C s t d 7a | | S( Ni ( u TICKS( u au b( ( u2 /opt/alt/python33/lib64/python3.3/test/profilee.pyu mul0 s
u mulc 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( ( ( u2 /opt/alt/python33/lib64/python3.3/test/profilee.pyu helper7 s
u helperc 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( ( u2 /opt/alt/python33/lib64/python3.3/test/profilee.pyu helper1I s
u helper1c C s t � t d � d S( Ni ( u helper2u factorial( ( ( u2 /opt/alt/python33/lib64/python3.3/test/profilee.pyu helper2_indirectT s u helper2_indirectc 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( ( ( u2 /opt/alt/python33/lib64/python3.3/test/profilee.pyu helper2X s
u helper2c C sR t d 7a xA t d � D]3 } y t � j Wq t k
rI t d 7a Yq Xq Wd S( Ni i ( u TICKSu rangeu Cu foou AttributeError( u i( ( u2 /opt/alt/python33/lib64/python3.3/test/profilee.pyu subhelperb s
u subhelperc B s | Ee Z d Z d d � Z d S( u Cc C s t d 7a t � d S( Ni ( u TICKSu AttributeError( u selfu name( ( u2 /opt/alt/python33/lib64/python3.3/test/profilee.pyu __getattr__n s
u
C.__getattr__N( u __name__u
__module__u __qualname__u __getattr__( u
__locals__( ( u2 /opt/alt/python33/lib64/python3.3/test/profilee.pyu Cm s u C(
u __doc__u sysu TICKSu timeru testfuncu factorialu mulu helperu helper1u helper2_indirectu helper2u subhelperu C( ( ( u2 /opt/alt/python33/lib64/python3.3/test/profilee.pyu <module> s