Current File : //usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyc
�
E�`Qc@s�ddlZddlTddlmZddlZd�Zd�Zdefd��YZ	d�Z
d	�Zd
�Zd�Z
d�Zed
kr�e�ndS(i����N(t*(tKnownFailureTestcCs#tjd��}t|j�dS(NcSsdS(N((txtytz((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt	slow_funcs(tdectslowtassert_(R((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt	test_slowscCsqtj�d��}tjt�d��}tjt�d��}t|j�t|j�t|j�dS(NcSsdS(N((ta((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt	f_defaultscSsdS(N((R
((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytf_istestscSsdS(N((R
((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytf_isnottests(Rt	setastesttTruetFalseRt__test__(RRR
((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyttest_setastest
s

tDidntSkipExceptioncBseZRS((t__name__t
__module__(((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyRscCs�tjt�d��}y|d�Wn0tk
rEtd��ntjk
rXnXtjt�d��}y|d�Wn0tk
r�n tjk
r�td��nXdS(NcSs
t�dS(N(R(R((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytf1"sR
sFailed to skipcSs
t�dS(N(R(R((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytf2-ssSkipped when not expected to(RtskipifRRt	ExceptiontnosetSkipTestR(RR((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyttest_skip_functions_hardcoded!s

cs��fd�}tj|�d��}yd�|d�Wn0tk
rZtd��ntjk
rmnXtj|�d��}yd�|d�Wn0tk
r�n tjk
r�td��nXdS(	Ncs
�dkS(Nsskip me!(((t	skip_flag(sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytskip_tester:scSs
t�dS(N(R(R((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyR=ssskip me!R
sFailed to skipcSs
t�dS(N(R(R((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyRIssfive is right out!sSkipped when not expected to(RRRRRR(RRR((RsI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyttest_skip_functions_callable9s"

cCs�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 failcss xt|�D]}|Vq
WdS(N(txrange(Rti((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytg1Wsi
sFailed to mark as known failuresThis test is NOT known to failcss,xt|�D]}|Vq
Wtd��dS(NtFAIL(R R(RR!((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytg2es	s"Marked incorretly as known failure(RtknownfailureifRRRRR(R"tjR$((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyttest_skip_generators_hardcodedVs


cs��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(Ncs
�dkS(Nsskip me!(((R(sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyRussThis test is known to failcss xt|�D]}|Vq
WdS(N(R (RR!((sI/usr/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 failcss,xt|�D]}|Vq
Wtd��dS(NR#(R R(RR!((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyR$�s	sdo not skips"Marked incorretly as known failure(RR%RRR(RR"R&R$((RsI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyttest_skip_generators_callablets$


cCs�tjt�d��}tj�d��}tj�d��}tj�d��}tt|�|�tt|�tt|�dS(NcSsdS(N((((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytnon_deprecated_func�scSs ddl}|jdt�dS(Ni����sTEST: deprecated func(twarningstwarntDeprecationWarning(R*((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytdeprecated_func�scSs#ddl}|jd�t�dS(Ni����tAHHHH(R*R+t
ValueError(R*((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytdeprecated_func2�s
cSsddl}|jd�dS(Ni����R.(R*R+(R*((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytdeprecated_func3�s(Rt
deprecatedRt
assert_raisestAssertionErrorR/(R)R-R0R1((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyttest_deprecated�s

t__main__(tnumpytnpt
numpy.testingtnumpy.testing.noseclassesRRR	RRRRRR'R(R5Rtrun_module_suite(((sI/usr/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt<module>s
						#