/usr/lib64/python2.6/site-packages/numpy/testing
Edit: /usr/lib64/python2.6/site-packages/numpy/testing/noseclasses.pyc (10013B)
Ñò
]ÐKc @ s d d k Z d d k Z d d k Z d d k l Z d d k l Z l Z d d k l
Z
d d k l Z l
Z
d d k Z d d k l Z d d k Z d d d d
g Z d e i f d „ ƒ YZ d
e i f d „ ƒ YZ d e i f d „ ƒ YZ d
e i f d „ ƒ YZ e i ƒ Z d e i f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e i i! f d „ ƒ YZ" d S( iÿÿÿÿN( t doctests( t
ErrorClasst ErrorClassPlugin( t Plugin( t srct
getpackage( t get_package_names generate_numpy_api.pys scons_support.pys
setupscons.pys setup.pyt NumpyDocTestFinderc B s e Z d „ Z d „ Z RS( c C s | d j o t St i | ƒ o | i | i j St i | ƒ o | i | i j St i | ƒ o | i | i j St i
| ƒ o | i | i i j St i | ƒ d j o | t i | ƒ j St
| d ƒ o | i | i j St | t ƒ o t St d ƒ ‚ d S( sY
Return true if the given object is defined in the given
module.
t
__module__s" object must be a class or functionN( t Nonet Truet inspectt
isfunctiont __dict__t func_globalst isbuiltint __name__R t isclasst ismethodt im_classt getmodulet hasattrt
isinstancet propertyt
ValueError( t selft modulet object( ( s? /usr/lib64/python2.6/site-packages/numpy/testing/noseclasses.pyt _from_module s"
c C sí t i i | | | | | | | | ƒ d d k l } l } l }
l } l } |
| ƒ oŽ | i o„ x | i
i ƒ D]l \ }
} d | |
f } | | ƒ p
| | ƒ o6 | i | | ƒ o# | i | | | | | | | ƒ qt qt Wn | | ƒ oô | i oê xç | i
i ƒ D]Ò \ }
} t
| t ƒ o t | |
ƒ } n t
| t ƒ o t | |
ƒ i } n | | ƒ p* | | ƒ p | | ƒ p t
| t ƒ oF | i | | ƒ o3 d | |
f }
| i | | |
| | | | ƒ qqWn d S( sm
Find tests for the given object and any contained objects, and
add them to `tests`.
iÿÿÿÿ( t isroutineR t ismoduleR R s %s.%sN( t doctestt
DocTestFindert _findR R R R R R t _recurseR
t itemsR R t staticmethodt getattrt classmethodt im_funcR ( R t testst objt nameR t source_linest globst seenR R R R R t valnamet valt valname1( ( s? /usr/lib64/python2.6/site-packages/numpy/testing/noseclasses.pyR! G s0
( ( R R R R! ( ( ( s? /usr/lib64/python2.6/site-packages/numpy/testing/noseclasses.pyR s 't NumpyDocTestCasec B s e Z d Z d „ Z RS( sN Proxy for DocTestCase: provides an address() method that
returns the correct address for the doctest case. Otherwise
acts as a proxy to the test case. To provide hints for address(),
an obj may also be passed -- this will be used as the test object
for purposes of determining the test address, if it is provided.
c C sk | i i } | i i } | d j oB t | ƒ } | d j o% | i | ƒ o d | | f } qg n | S( Ns %s.%s( t _dt_testR* t filenameR R t
startswith( R R* R3 t pk( ( s? /usr/lib64/python2.6/site-packages/numpy/testing/noseclasses.pyt idƒ s
( R R t __doc__R6 ( ( ( s? /usr/lib64/python2.6/site-packages/numpy/testing/noseclasses.pyR1 x s t NumpyOutputCheckerc B s e Z d „ Z RS( c C s<