• File: test_decorators.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyc
  • Date Modified: 12/19/2017 2:16 PM
  • File size: 7.67 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

9Zc@`sddlmZmZmZddlmZmZmZmZm	Z	m
Z
ddlZdZdZ
defdYZdZd	Zd
ZdZdZed
krendS(i(tdivisiontabsolute_importtprint_function(tdectassert_t
assert_raisestrun_module_suitetSkipTesttKnownFailureExceptionNcC`s#tjd}t|jdS(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`sqtjd}tjtd}tjtd}t|jt|jt|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`stjtd}y|dWn-tk
rEtdntk
rUnXtjtd}y|dWn-tk
rntk
rtdnXdS(NcS`s
tdS(N(R(R	((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytf1#sRsFailed to skipcS`s
tdS(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`sfd}tj|d}yd|dWn-tk
rZtdntk
rjnXtj|d}yd|dWn-tk
rntk
rtdnXdS(	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
tdS(N(R(R	((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyR>ssskip me!RsFailed to skipcS`s
tdS(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`stjtdd}yx|dD]}q+WWntk
rIn
Xtdtjtdd}yx|dD]}qWWn-tk
rtdntk
rnXdS(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
WtddS(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`sfd}tj|dd}y!dx|dD]}q@WWntk
r^n
Xtdtj|dd}y!d	x|dD]}qWWn-tk
rtd
ntk
rnXdS(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
WtddS(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`stjtd}tjd}tjd}tjd}tt||tt|tt|dS(NcS`sdS(N((((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytnon_deprecated_funcscS`s ddl}|jdtdS(NisTEST: deprecated func(twarningstwarntDeprecationWarning(R-((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytdeprecated_funcscS`s#ddl}|jdtdS(NitAHHHH(R-R.t
ValueError(R-((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytdeprecated_func2s
cS`sddl}|jddS(NiR1(R-R.(R-((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pytdeprecated_func3s(Rt
deprecatedRRtAssertionErrorR2(R,R0R3R4((sV/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyttest_deprecateds

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.						"