]c@sdZdZdZddd!ZddkZddkZddkZddkZddkZdd d d d d ddgZ e i dddgei d d+jo dZ ndZ eZdZdZdd,dYZd d-dYZd d.dYZd efdYZd d/dYZeZddZedZdeed Zdeed!Zd"d0d#YZd$efd%YZd d1d&YZ d'd2d(YZ!e!Z"e#d)joe"d*dndS(3s Python unit testing framework, based on Erich Gamma's JUnit and Kent Beck's Smalltalk testing framework. This module contains the core framework classes that form the basis of specific test cases and suites (TestCase, TestSuite etc.), and also a text-based utility class for running the tests and reporting the results (TextTestRunner). Simple usage: import unittest class IntegerArithmenticTestCase(unittest.TestCase): def testAdd(self): ## test method names begin 'test*' self.assertEquals((1 + 2), 3) self.assertEquals(0 + 1, 1) def testMultiply(self): self.assertEquals((0 * 10), 0) self.assertEquals((5 * 8), 40) if __name__ == '__main__': unittest.main() Further information is available in the bundled documentation, and from http://docs.python.org/lib/module-unittest.html Copyright (c) 1999-2003 Steve Purcell This module is free software, and you may redistribute it and/or modify it under the same terms as Python itself, so long as this copyright message and disclaimer are retained in their original form. IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. s Steve Purcells stephen_purcell at yahoo dot coms#Revision: 1.63 $i iiNt TestResulttTestCaset TestSuitetTextTestRunnert TestLoadertFunctionTestCasetmaintdefaultTestLoadertgetTestCaseNamest makeSuitet findTestCasesicCsddk}t|ttfjoHx@|D]8}|tjo ti}n|i||odSq,WdS|i||SdS(Niii(t __builtin__ttypettupletlistttypest ClassTypet isinstance(tobjtclsinfoR tcls((s /usr/lib64/python2.6/unittest.pyRFs   cs dtffdY}|S(s,Convert a cmp= function into a key= functiontKcs eZdZfdZRS(cSs ||_dS(N(R(tselfR((s /usr/lib64/python2.6/unittest.pyt__init__Sscs|i|idjS(Ni(R(Rtother(tmycmp(s /usr/lib64/python2.6/unittest.pyt__lt__Us(t__name__t __module__RR((R(s /usr/lib64/python2.6/unittest.pyRRs (tobject(RR((Rs /usr/lib64/python2.6/unittest.pyt _CmpToKeyPscCsd|i|ifS(Ns%s.%s(RR(R((s /usr/lib64/python2.6/unittest.pyt _strclass`sicBszeZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d ZRS( sHolder for test result information. Test results are automatically managed by the TestCase and TestSuite classes, and do not need to be explicitly manipulated by writers of tests. Each instance holds the total number of tests run, and collections of failures and errors that occurred among those test runs. The collections contain tuples of (testcase, exceptioninfo), where exceptioninfo is the formatted traceback of the error that occurred. cCs(g|_g|_d|_t|_dS(Ni(tfailuresterrorsttestsRuntFalset shouldStop(R((s /usr/lib64/python2.6/unittest.pyRps   cCs|id|_dS(s-Called when the given test is about to be runiN(R"(Rttest((s /usr/lib64/python2.6/unittest.pyt startTestvscCsdS(s'Called when the given test has been runN((RR%((s /usr/lib64/python2.6/unittest.pytstopTestzscCs&|ii||i||fdS(smCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info(). N(R!tappendt_exc_info_to_string(RR%terr((s /usr/lib64/python2.6/unittest.pytaddError~scCs&|ii||i||fdS(sdCalled when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info().N(R R(R)(RR%R*((s /usr/lib64/python2.6/unittest.pyt addFailurescCsdS(s-Called when a test has completed successfullyN((RR%((s /usr/lib64/python2.6/unittest.pyt addSuccessscCs+t|it|ijodjSS(s.Tells whether or not this result was a successi(tlenR R!(R((s /usr/lib64/python2.6/unittest.pyt wasSuccessfulscCs t|_dS(s*Indicates that the tests should be abortedN(tTrueR$(R((s /usr/lib64/python2.6/unittest.pytstopscCs|\}}}x%|o|i|o |i}qW||ijo/|i|}diti||||Sditi|||S(s>Converts a sys.exc_info()-style tuple of values into a string.t(t_is_relevant_tb_levelttb_nexttfailureExceptiont_count_relevant_tb_levelstjoint tracebacktformat_exception(RR*R%texctypetvaluettbtlength((s /usr/lib64/python2.6/unittest.pyR)s cCsd|iijS(Nt __unittest(ttb_framet f_globals(RR<((s /usr/lib64/python2.6/unittest.pyR3scCs=d}x0|o(|i| o|d7}|i}q W|S(Nii(R3R4(RR<R=((s /usr/lib64/python2.6/unittest.pyR6s  cCs2dt|i|it|it|ifS(Ns!<%s run=%i errors=%i failures=%i>(Rt __class__R"R.R!R (R((s /usr/lib64/python2.6/unittest.pyt__repr__s(RRt__doc__RR&R'R+R,R-R/R1R)R3R6RB(((s /usr/lib64/python2.6/unittest.pyRes           cBsKeZdZeZddZdZdZdZdZ dZ dZ d Z d Z d Zd Zd ZddZdZdZdZddZddZddZdZddZddZdddZdddZeZZeZ Z!eZ"Z#eZ$Z%eZ&eZ'Z(eZ)RS(sA class whose instances are single test cases. By default, the test code itself should be placed in a method named 'runTest'. If the fixture may be used for many test cases, create as many test methods as are needed. When instantiating such a TestCase subclass, specify in the constructor arguments the name of the test method that the instance is to execute. Test authors should subclass TestCase for their own tests. Construction and deconstruction of the test's environment ('fixture') can be implemented by overriding the 'setUp' and 'tearDown' methods respectively. If it is necessary to override the __init__ method, the base class __init__ method must always be called. It is important that subclasses should not change the signature of their __init__ method, since instances of the classes are instantiated automatically by parts of the framework in order to be run. trunTestcCsXy(||_t||}|i|_Wn)tj otd|i|fnXdS(sCreate an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name. sno such test method in %s: %sN(t_testMethodNametgetattrRCt_testMethodDoctAttributeErrort ValueErrorRA(Rt methodNamet testMethod((s /usr/lib64/python2.6/unittest.pyRs cCsdS(sAHook method for setting up the test fixture before exercising it.N((R((s /usr/lib64/python2.6/unittest.pytsetUpscCsdS(sAHook method for deconstructing the test fixture after testing it.N((R((s /usr/lib64/python2.6/unittest.pyttearDownscCsdS(Ni((R((s /usr/lib64/python2.6/unittest.pytcountTestCasesscCstS(N(R(R((s /usr/lib64/python2.6/unittest.pytdefaultTestResultscCs.|i}|o|iddipdS(sReturns a one-line description of the test, or None if no description has been provided. The default implementation of this method returns the first line of the specified test method's docstring. s iN(RGtsplittstriptNone(Rtdoc((s /usr/lib64/python2.6/unittest.pytshortDescriptions cCsdt|i|ifS(Ns%s.%s(RRARE(R((s /usr/lib64/python2.6/unittest.pytidscCs.t|t|j otS|i|ijS(N(R R#RE(RR((s /usr/lib64/python2.6/unittest.pyt__eq__scCs ||j S(N((RR((s /usr/lib64/python2.6/unittest.pyt__ne__scCstt||ifS(N(thashR RE(R((s /usr/lib64/python2.6/unittest.pyt__hash__scCsd|it|ifS(Ns%s (%s)(RERRA(R((s /usr/lib64/python2.6/unittest.pyt__str__scCsdt|i|ifS(Ns<%s testMethod=%s>(RRARE(R((s /usr/lib64/python2.6/unittest.pyRBscCsq|djo|i}n|i|t||i}z y|iWn3tj o n|i||idSXt }y|t }Wn]|i j o|i ||in3tj o n|i||inXy|i Wn8tj o n$|i||it }nX|o|i|nWd|i|XdS(N(RRROR&RFRERLtKeyboardInterruptR+t _exc_infoR#R0R5R,RMR-R'(RtresultRKtok((s /usr/lib64/python2.6/unittest.pytruns@    cOs|i||S(N(R_(Rtargstkwds((s /usr/lib64/python2.6/unittest.pyt__call__*scCs+|it||i|idS(s6Run the test without collecting errors in a TestResultN(RLRFRERM(R((s /usr/lib64/python2.6/unittest.pytdebug-s cCs tiS(sReturn a version of sys.exc_info() with the traceback frame minimised; usually the top level of the traceback frame is not needed. (tsystexc_info(R((s /usr/lib64/python2.6/unittest.pyR\3scCs|i|dS(s)Fail immediately, with the given message.N(R5(Rtmsg((s /usr/lib64/python2.6/unittest.pytfail:scCs|o|i|ndS(s(Fail the test if the expression is true.N(R5(RtexprRf((s /usr/lib64/python2.6/unittest.pytfailIf>scCs|p|i|ndS(s,Fail the test unless the expression is true.N(R5(RRhRf((s /usr/lib64/python2.6/unittest.pyt failUnlessBscOsey|||Wn|j odSXt|do |i}n t|}|id|dS(siFail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. If a different type of exception is thrown, it will not be caught, and the test case will be deemed to have suffered an error, exactly as for an unexpected exception. NRs %s not raised(thasattrRtstrR5(RtexcClasst callableObjR`tkwargstexcName((s /usr/lib64/python2.6/unittest.pytfailUnlessRaisesFs  cCs2||jp!|i|pd||fndS(s[Fail if the two objects are unequal as determined by the '==' operator. s%r != %rN(R5(RtfirsttsecondRf((s /usr/lib64/python2.6/unittest.pytfailUnlessEqualWs cCs2||jo!|i|pd||fndS(sYFail if the two objects are equal as determined by the '==' operator. s%r == %rN(R5(RRrRsRf((s /usr/lib64/python2.6/unittest.pyt failIfEqual_s icCsHtt|||djo$|i|pd|||fndS(sKFail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. Note that decimal places (from zero) are usually not the same as significant digits (measured from the most signficant digit). is%r != %r within %r placesN(troundtabsR5(RRrRstplacesRf((s /usr/lib64/python2.6/unittest.pytfailUnlessAlmostEqualgs cCsHtt|||djo$|i|pd|||fndS(sIFail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. Note that decimal places (from zero) are usually not the same as significant digits (measured from the most signficant digit). is%r == %r within %r placesN(RvRwR5(RRrRsRxRf((s /usr/lib64/python2.6/unittest.pytfailIfAlmostEqualss N(*RRRCtAssertionErrorR5RRLRMRNRORTRURVRWRYRZRBRRR_RbRcR\RgRiRjRqRtRuRyRzt assertEqualt assertEqualstassertNotEqualtassertNotEqualstassertAlmostEqualtassertAlmostEqualstassertNotAlmostEqualtassertNotAlmostEqualst assertRaisestassert_t assertTruet assertFalse(((s /usr/lib64/python2.6/unittest.pyRsB           #               cBseZdZd dZdZeZdZdZd Z dZ dZ dZ dZ d Zd Zd ZRS(sA test suite is a composite test consisting of a number of TestCases. For use, create an instance of TestSuite, then add test case instances. When all tests have been added, the suite can be passed to a test runner, such as TextTestRunner. It will run the individual test cases in the order in which they were added, aggregating the results. When subclassing, do not forget to call the base class constructor. cCsg|_|i|dS(N(t_teststaddTests(Rttests((s /usr/lib64/python2.6/unittest.pyRs cCsdt|i|ifS(Ns <%s tests=%s>(RRAR(R((s /usr/lib64/python2.6/unittest.pyRBscCs.t|t|j otS|i|ijS(N(R R#R(RR((s /usr/lib64/python2.6/unittest.pyRVscCs ||j S(N((RR((s /usr/lib64/python2.6/unittest.pyRWscCs t|iS(N(titerR(R((s /usr/lib64/python2.6/unittest.pyt__iter__scCs.d}x!|iD]}||i7}qW|S(Ni(RRN(RtcasesR%((s /usr/lib64/python2.6/unittest.pyRNs  cCsst|dptdnt|ttifo&t|ttfotdn|i i |dS(NRbs the test to add must be callablesNTestCases and TestSuites must be instantiated before passing them to addTest()( Rkt TypeErrorRR RRt issubclassRRRR((RR%((s /usr/lib64/python2.6/unittest.pytaddTests cCsBt|totdnx|D]}|i|q'WdS(Ns0tests must be an iterable of tests, not a string(Rt basestringRR(RRR%((s /usr/lib64/python2.6/unittest.pyRs cCs1x*|iD]}|ioPn||q W|S(N(RR$(RR]R%((s /usr/lib64/python2.6/unittest.pyR_s   cOs|i||S(N(R_(RR`Ra((s /usr/lib64/python2.6/unittest.pyRbscCs"x|iD]}|iq WdS(s7Run the tests without collecting errors in a TestResultN(RRc(RR%((s /usr/lib64/python2.6/unittest.pyRcs (N(RRRCRRBRZRVRWRRRYRRNRRR_RbRc(((s /usr/lib64/python2.6/unittest.pyRs         cBszeZdZd d d dZdZdZdZdZdZ dZ dZ d Z d Z d ZRS( sIA test case that wraps a test function. This is useful for slipping pre-existing test functions into the unittest framework. Optionally, set-up and tidy-up functions can be supplied. As with TestCase, the tidy-up ('tearDown') function will always be called if the set-up ('setUp') function ran successfully. cCs5ti|||_||_||_||_dS(N(RRt_FunctionTestCase__setUpFunct_FunctionTestCase__tearDownFunct_FunctionTestCase__testFunct_FunctionTestCase__description(RttestFuncRLRMt description((s /usr/lib64/python2.6/unittest.pyRs     cCs"|idj o|indS(N(RRR(R((s /usr/lib64/python2.6/unittest.pyRLscCs"|idj o|indS(N(RRR(R((s /usr/lib64/python2.6/unittest.pyRMscCs|idS(N(R(R((s /usr/lib64/python2.6/unittest.pyRDscCs |iiS(N(RR(R((s /usr/lib64/python2.6/unittest.pyRUscCsgt|t|j otS|i|ijo6|i|ijo#|i|ijo|i|ijS(N(R R#RRRR(RR((s /usr/lib64/python2.6/unittest.pyRVs cCs ||j S(N((RR((s /usr/lib64/python2.6/unittest.pyRWscCs+tt||i|i|i|ifS(N(RXR RRRR(R((s /usr/lib64/python2.6/unittest.pyRYscCsdt|i|iifS(Ns%s (%s)(RRARR(R((s /usr/lib64/python2.6/unittest.pyRZscCsdt|i|ifS(Ns<%s testFunc=%s>(RRAR(R((s /usr/lib64/python2.6/unittest.pyRBscCsI|idj o|iS|ii}|o|iddipdS(Ns i(RRRRRCRPRQ(RRS((s /usr/lib64/python2.6/unittest.pyRT s N(RRRCRRRRLRMRDRURVRWRYRZRBRT(((s /usr/lib64/python2.6/unittest.pyRs         cBsSeZdZdZeZeZdZdZ ddZ ddZ dZ RS(s|This class is responsible for loading tests according to various criteria and returning them wrapped in a TestSuite R%cCsjt|totdn|i|}| ot|do dg}n|it||S(s<Return a suite of all tests cases contained in testCaseClasssYTest cases should not be derived from TestSuite. Maybe you meant to derive from TestCase?RD(RRRRRkt suiteClasstmap(Rt testCaseClasst testCaseNames((s /usr/lib64/python2.6/unittest.pytloadTestsFromTestCases  cCs|g}xft|D]X}t||}t|ttifo*t|to|i|i |qqW|i |S(s?Return a suite of all tests cases contained in the given module( tdirRFRR RRRRR(RR(RtmoduleRtnameR((s /usr/lib64/python2.6/unittest.pytloadTestsFromModule's c Cs|id}|djoi|}xQ|oIytdi|}PWq&tj o|d=|pqrq&Xq&W|d}n|}x$|D]}|t||}}qWt|tijo|i |St |tti fot |t o|i|St|tijo@t |tti fo't |t ot||igSt |to|St|doV|}t |to|St |t ot|gStd||fntd|dS(sTReturn a suite of all tests cases given a string specifier. The name may resolve either to a module, a test case class, a test method within a test case class, or a callable object which returns a TestCase or TestSuite instance. The method optionally resolves the names relative to a given module. t.iiRbs"calling %s returned %s, not a tests$don't know how to make test from: %sN(RPRRt __import__R7t ImportErrorRFR Rt ModuleTypeRRRRRRtUnboundMethodTypeRRRkR( RRRtpartst parts_copyRtparttparentR%((s /usr/lib64/python2.6/unittest.pytloadTestsFromName1sJ   cCs:g}|D]}||i||q ~}|i|S(sReturn a suite of all tests cases found using the given sequence of string specifiers. See 'loadTestsFromName()'. (RR(RtnamesRt_[1]Rtsuites((s /usr/lib64/python2.6/unittest.pytloadTestsFromNames`s-cCsR||id}t|t|}|io|idt|in|S(sLReturn a sorted sequence of method names found within testCaseClass cSs&|i|ott||dS(NRb(t startswithRkRF(tattrnameRtprefix((s /usr/lib64/python2.6/unittest.pyt isTestMethodjstkey(ttestMethodPrefixtfilterRtsortTestMethodsUsingtsortR(RRRt testFnNames((s /usr/lib64/python2.6/unittest.pyRgs  N(RRRCRtcmpRRRRRRRRRR(((s /usr/lib64/python2.6/unittest.pyRs / cCs3t}||_||_|o ||_n|S(N(RRRR(Rt sortUsingRtloader((s /usr/lib64/python2.6/unittest.pyt _makeLoaderzs     cCst||i|S(N(RR(RRR((s /usr/lib64/python2.6/unittest.pyRsR%cCst|||i|S(N(RR(RRRR((s /usr/lib64/python2.6/unittest.pyR scCst|||i|S(N(RR(RRRR((s /usr/lib64/python2.6/unittest.pyR st_WritelnDecoratorcBs,eZdZdZdZddZRS(s@Used to decorate file-like objects with a handy 'writeln' methodcCs ||_dS(N(tstream(RR((s /usr/lib64/python2.6/unittest.pyRscCst|i|S(N(RFR(Rtattr((s /usr/lib64/python2.6/unittest.pyt __getattr__scCs)|o|i|n|iddS(Ns (twrite(Rtarg((s /usr/lib64/python2.6/unittest.pytwritelnsN(RRRCRRRRR(((s /usr/lib64/python2.6/unittest.pyRs  t_TextTestResultcBsjeZdZddZddZdZdZdZdZdZ d Z d Z d Z RS( shA test result class that can print formatted text results to a stream. Used by TextTestRunner. t=iFt-cCsAti|||_|dj|_|dj|_||_dS(Ni(RRRtshowAlltdotst descriptions(RRRt verbosity((s /usr/lib64/python2.6/unittest.pyRs   cCs0|io|ip t|St|SdS(N(RRTRl(RR%((s /usr/lib64/python2.6/unittest.pytgetDescriptions cCsXti|||io:|ii|i||iid|iindS(Ns ... (RR&RRRRtflush(RR%((s /usr/lib64/python2.6/unittest.pyR&s  cCs]ti|||io|iidn,|io!|iid|iindS(NR^R(RR-RRRRRR(RR%((s /usr/lib64/python2.6/unittest.pyR-s   cCs`ti||||io|iidn,|io!|iid|iindS(NtERRORtE(RR+RRRRRR(RR%R*((s /usr/lib64/python2.6/unittest.pyR+s   cCs`ti||||io|iidn,|io!|iid|iindS(NtFAILtF(RR,RRRRRR(RR%R*((s /usr/lib64/python2.6/unittest.pyR,s   cCsO|ip |io|iin|id|i|id|idS(NRR(RRRRtprintErrorListR!R (R((s /usr/lib64/python2.6/unittest.pyt printErrorsscCsxxq|D]i\}}|ii|i|iid||i|f|ii|i|iid|qWdS(Ns%s: %ss%s(RRt separator1Rt separator2(RtflavourR!R%R*((s /usr/lib64/python2.6/unittest.pyRs  #( RRRCRRRRR&R-R+R,RR(((s /usr/lib64/python2.6/unittest.pyRs         cBs5eZdZeidddZdZdZRS(sA test runner class that displays results in textual form. It prints out the names of tests as they are run, errors as they occur, and a summary of the results at the end of the test run. icCs%t||_||_||_dS(N(RRRR(RRRR((s /usr/lib64/python2.6/unittest.pyRs cCst|i|i|iS(N(RRRR(R((s /usr/lib64/python2.6/unittest.pyt _makeResultsc Cs[|i}ti}||ti}||}|i|ii|i|i}|iid||djodpd|f|ii|ip|iidt t |i |i f\}}|o|iid|n|o3|o|iidn|iid|n|iid n|iid |S( s&Run the given test case or test suite.sRan %d test%s in %.3fsitsR2sFAILED (s failures=%ds, s errors=%dt)tOK( RttimeRRRRR"R/RRR.R R!( RR%R]t startTimetstopTimet timeTakenR_tfailedterrored((s /usr/lib64/python2.6/unittest.pyR_s.        %  !(RRRCRdtstderrRRR_(((s /usr/lib64/python2.6/unittest.pyRs t TestProgramcBsSeZdZdZddddedZddZdZdZ dZ RS( sA command-line program that runs a set of tests; this is primarily for making test modules conveniently executable. s Usage: %(progName)s [options] [test] [...] Options: -h, --help Show this message -v, --verbose Verbose output -q, --quiet Minimal output Examples: %(progName)s - run default set of tests %(progName)s MyTestSuite - run suite 'MyTestSuite' %(progName)s MyTestCase.testSomething - run MyTestCase.testSomething %(progName)s MyTestCase - run all 'test*' test methods in MyTestCase t__main__cCst|tdjoFt||_x=|iddD]}t|i||_q<Wn ||_|djo ti}nd|_||_ ||_ ||_ t i i|d|_|i||idS(NR2Rii(R RRRPRFRRRdtargvRt defaultTestt testRunnert testLoadertostpathtbasenametprogNamet parseArgstrunTests(RRRRRRR((s /usr/lib64/python2.6/unittest.pyRs        cCs0|o |GHn|i|iGHtiddS(Ni(tUSAGEt__dict__Rdtexit(RRf((s /usr/lib64/python2.6/unittest.pyt usageExit2s c CsCddk}y |i|dddddg\}}xc|D][\}}|djo|in|djo d |_n|djo d|_q>q>Wt|d jo-|idjo|ii|i|_ dSt|d jo ||_ n|if|_ |i Wn%|i j o}|i|nXdS(NiithHvqthelptverbosetquiets-hs-Hs--helps-qs--quietis-vs --verbosei(s-hs-Hs--help(s-qs--quiet(s-vs --verbose( tgetoptRRR.RRRRRRR%t testNamest createTeststerror(RRRtoptionsR`toptR;Rf((s /usr/lib64/python2.6/unittest.pyR7s*      # cCs"|ii|i|i|_dS(N(RRRRR%(R((s /usr/lib64/python2.6/unittest.pyRNscCs|idjo t|_nt|ittifo?y|id|i}Wqtj o|i}qXn |i}|i |i }t i |i dS(NR(RRRRRR RRRRR_R%RdRR/(RRR]((s /usr/lib64/python2.6/unittest.pyRRs  N( RRRCRRRRRRRRR(((s /usr/lib64/python2.6/unittest.pyR s    RR(ii(((((((($RCt __author__t __email__t __version__RRdR8RRt__all__textendt version_infoRRR t __metaclass__RR>RRRRRRRRRRRR R RRRRRR(((s /usr/lib64/python2.6/unittest.pyt,sD         KE@]    B.V