ÿØÿàJFIFÿþ ÿÛC       ÿÛC ÿÀÿÄÿÄ"#QrÿÄÿÄ&1!A"2qQaáÿÚ ?Øy,æ/3JæÝ¹È߲؋5êXw²±ÉyˆR”¾I0ó2—PI¾IÌÚiMö¯–þrìN&"KgX:Šíµ•nTJnLK„…@!‰-ý ùúmë;ºgµŒ&ó±hw’¯Õ@”Ü— 9ñ-ë.²1<yà‚¹ïQÐU„ہ?.’¦èûbß±©Ö«Âw*VŒ) `$‰bØÔŸ’ëXÖ-ËTÜíGÚ3ð«g Ÿ§¯—Jx„–’U/ÂÅv_s(Hÿ@TñJÑãõçn­‚!ÈgfbÓc­:él[ðQe 9ÀPLbÃãCµm[5¿ç'ªjglå‡Ûí_§Úõl-;"PkÞÞÁQâ¼_Ñ^¢SŸx?"¸¦ùY騐ÒOÈ q’`~~ÚtËU¹CڒêV  I1Áß_ÿÙ ]c@`sddlmZmZmZddlZddlZddlZddlZddlm Z ddl m Z m Z ddlmZddlmZddlZddlmZdd lmZmZd ejfd YZd ejfd YZde jfdYZejZde j fdYZ!de"fdYZ#de fdYZ$e$Z%dej&j'fdYZ(dS(i(tdivisiontabsolute_importtprint_functionN(tdoctests(t ErrorClasstErrorClassPlugin(tPlugin(tsrci(tget_package_name(tKnownFailureExceptiontKnownFailureTesttNumpyDocTestFindercB`seZdZdZRS(cC`s|dkrtStj|r/|j|jkStj|rN|j|jkStj |rm|j|jkStj |r|j|j j jkStj |dk r|tj |kSt|dr|j|jkSt|trtStddS(sY Return true if the given object is defined in the given module. t __module__s"object must be a class or functionN(tNonetTruetinspectt isfunctiont__dict__t __globals__t isbuiltint__name__R tisclasstismethodt__self__t __class__t getmodulethasattrt isinstancetpropertyt ValueError(tselftmoduletobject((sL/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/noseclasses.pyt _from_modules" c C`stjj||||||||ddlm}m} m} m} m} | |r|j rx||j j D]h\} }d|| f}||s| |rr|j ||rr|j|||||||qrqrWn| |r|j rx|j j D]\} }t |tr3t|| }nt |trWt|| j}n| |s| |s| |st |tr|j ||rd|| f} |j||| ||||qqWndS(sm Find tests for the given object and any contained objects, and add them to `tests`. i(t isroutineRtismoduleRRs%s.%sN(tdoctestt DocTestFindert_findRR"RR#RRt_recurseRtitemsR!Rt staticmethodtgetattrt classmethodt__func__R(RtteststobjtnameRt source_linestglobstseenR"RR#RRtvalnametvaltvalname1((sL/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/noseclasses.pyR&;s, ((RR R!R&(((sL/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/noseclasses.pyR s tNumpyOutputCheckercB`seZdZRS(cC`stjj||||}|sd|kr1tS|jdd}|jdd}x@ddgD]2}|jd|d}|jd|d}qbWtjj||||}n|S(Ns#randoms'>s'eZdZdZeZdZddZdZdZ RS(si Nose plugin to remove named plugin late in loading By default it removes the "doctest" plugin. t unpluggeriR$cC`s ||_dS(N(t to_unplug(RR((sL/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/noseclasses.pyRHscC`sdS(N((RRPRQ((sL/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/noseclasses.pyRMscC`s;g|jjD]}|j|jkr |^q |j_dS(N(RWR/R(RRMRXRY((sL/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/noseclasses.pyRRs( RR t__doc__R/RRVRRHRMRR(((sL/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/noseclasses.pyRs  tKnownFailurePlugincB`sDeZdZeZeedddeZe j dZ dZ RS(s1Plugin that installs a KNOWNFAIL error class for the KnownFailureClass exception. When KnownFailure is raised, the exception will be logged in the knownfail attribute of the result, 'K' or 'KNOWNFAIL' (verbose) will be output, and the exception will not be counted as an error or failure.tlabelt KNOWNFAILt isfailurec C`s;d}|jdddddd|j|tdd dS( NtNOSE_WITHOUT_KNOWNFAILs--no-knownfailtactiont store_truetdestt noKnownFailtdefaultthelps3Disable special handling of KnownFailure exceptions(t add_optiontgetR|(RRPRQtenv_opt((sL/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/noseclasses.pyRM.scC`s>|js dS||_t|dt}|r:t|_ndS(NR(t can_configuretconfR*R|RV(RRMRtdisable((sL/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/noseclasses.pyRR5s   ( RR RRRVRR R|t knownfailR`RRMRR(((sL/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/noseclasses.pyR#s  tNumpyTestProgramcB`seZdZRS(cC`s|jdkrEtjjd|jjd|jjd|j|_n|jjj |j}|dk ru||_n|jj |j |_ |j j |_|jS(sRun Tests. Returns true on success, false on failure, and sets self.success to the same value. Because nose currently discards the test result object, but we need to return it to the user, override TestProgram.runTests to retain the result tstreamt verbosityRXN(t testRunnerR tnosetcoretTextTestRunnerRXRRRWtprepareTestRunnertrunRItresultt wasSuccessfultsuccess(Rt plug_runner((sL/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/noseclasses.pytrunTestsCs   (RR R(((sL/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/noseclasses.pyRBs()t __future__RRRR`R$RRt nose.pluginsRRktnose.plugins.errorclassRRtnose.plugins.baseRt nose.utilRRdt nosetesterRtutilsR R R%R R8R6RGR@tget_printoptionsRxR}RKR RRt KnownFailureRt TestProgramR(((sL/opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/noseclasses.pyts(      O x