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

9Zc@`sddlmZmZmZddlZddlZddlmZm	Z	m
Z
mZdefdYZe
dkre
ndS(i(tdivisiontabsolute_importtprint_functionN(tTestCasetassert_trun_module_suitetdectTestErrstatecB`sAeZejejdkddZdZdZRS(tarmv5telsSee gh-413.c
C`stjddddmtjd}tjddtj|WdQXytj|Wntk
rsnX|jdWdQXdS(NtalltraisetundertignoreitinvalidsDid not raise an invalid error(tnpterrstatetarangetsqrttFloatingPointErrortfail(tselfta((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/tests/test_errstate.pyttest_invalid
s
c
C`stjddddctjd}tjdd
|dWdQXy|dWntk
rinX|jdWdQXdS(	NR	R
RRitdivideis"Did not raise divide by zero error(RRRRR(RR((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/tests/test_errstate.pyttest_divides
cC`sd}tj}tjd|Pttj|kdtjddttjdkdWdQXWdQXttj|kddS(NcW`st|dS(N(tprint(targs((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/tests/test_errstate.pytfoo(stcallscall is not fooscall is not Nonescall is not olderrcall(Rt
geterrcallRRtNone(RRt
olderrcall((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/tests/test_errstate.pyttest_errcall's	%(	t__name__t
__module__RtskipiftplatformtmachineRRR (((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/tests/test_errstate.pyR	s'	t__main__(t
__future__RRRR$tnumpyRt
numpy.testingRRRRRR!(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/core/tests/test_errstate.pyt<module>s"*