JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrJFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrB  f(@s|dZddlZddlmZddlmZdZddZGd d d eZGd ddeZ Gd d d eZ ddZ GdddeZ dS) TestSuiteN)case)utilTcCst||dd}|dS)NcSsdS)Nrrr3/opt/alt/python37/lib64/python3.7/unittest/suite.py z!_call_if_exists..)getattr)parentattrfuncrrr_call_if_exists src@sneZdZdZdZdddZddZdd Zd d Zd d Z ddZ ddZ ddZ ddZ ddZddZdS) BaseTestSuitezNA simple test suite that doesn't provide class or module shared fixtures. TrcCsg|_d|_||dS)Nr)_tests_removed_testsaddTests)selftestsrrr__init__szBaseTestSuite.__init__cCsdt|jt|fS)Nz <%s tests=%s>)rstrclass __class__list)rrrr__repr__szBaseTestSuite.__repr__cCs t||jstSt|t|kS)N) isinstancerNotImplementedr)rotherrrr__eq__s zBaseTestSuite.__eq__cCs t|jS)N)iterr)rrrr__iter__"szBaseTestSuite.__iter__cCs(|j}x|D]}|r ||7}q W|S)N)rcountTestCases)rZcasestestrrrr %s  zBaseTestSuite.countTestCasescCsLt|stdt|t|trdSt|ddrNdSt|dd}|dk rt|dz^y |WnNtk r}z0t|trt|}d|}||||Wdd}~XYnXWdt|d XdS) NrBr<Fr=rE tearDownClassrGztearDownClass (%s)rH) r rrrIrrDrrrJ) rr!r/rKrLr\rMrNrOrrrr?s,         $z TestSuite._tearDownPreviousClassN)F) r7r8r9r:r1r6rArQr@rJrCr?rrrrr\s ! c@sTeZdZdZdZddZddZddZd d Zd d Z d dZ ddZ ddZ dS)rXz Placeholder for a TestCase inside a result. As far as a TestResult is concerned, this looks exactly like a unit test. Used to insert arbitrary errors into a test suite run. NcCs ||_dS)N) description)rr]rrrrsz_ErrorHolder.__init__cCs|jS)N)r])rrrridsz_ErrorHolder.idcCsdS)Nr)rrrrshortDescription sz_ErrorHolder.shortDescriptioncCs d|jfS)Nz)r])rrrrr#sz_ErrorHolder.__repr__cCs|S)N)r^)rrrr__str__&sz_ErrorHolder.__str__cCsdS)Nr)rr/rrrr1)sz_ErrorHolder.runcCs ||S)N)r1)rr/rrrr5.sz_ErrorHolder.__call__cCsdS)Nrr)rrrrr 1sz_ErrorHolder.countTestCases) r7r8r9r:ZfailureExceptionrr^r_rr`r1r5r rrrrrXsrXcCs&y t|Wntk r dSXdS)z?A crude way to tell apart testcases and suites with duck-typingTF)rr#)r!rrrr>4s  r>c@seZdZdZdZdZdZdS)rDzCUsed by the TestSuite to hold previous class when running in debug.NF)r7r8r9r:rBr=r,rrrrrD=srD) r:rSrrZ __unittestrobjectrrrXr>rDrrrrs  L3&