mς 9γΈEc@sOdZdkZdklZdklZdeifd„ƒYZd„ZdS(s&Test the BTree check.check() function.N(sOOBTree(scheckt CheckTestcBs5tZd„Zd„Zd„Zd„Zd„ZRS(NcCsHtƒ|_}x"tdƒD]}d|||= upper bounds,expected self.t_check() to catch the problem(RRR tnewsRt __setstate__R RtAssertionErrortdetailt failUnlesststrtfindtfail(RRR R((RttestKeyTooLarge's ) 'cCs«|i}|ddd|ddf|df}|ii|ƒ|iiƒyt|iƒWn7tj o+}|i t |ƒi dƒdjƒnX|i dƒdS(Niiiis < lower bounds,expected self.t_check() to catch the problem(RRR RRRR RRRRRRR(RRR R((RttestKeyTooSmall5s ) 'c CsV|i}|\\}}}}|i|ddƒ|i|ddƒ|iƒ} |it | ƒdƒ| \}}|i|ddƒ|i|ddƒ|i|ddƒ|i|ddƒ|d d |d} |i| |fƒ|iiƒyt|iƒWn7tj o+}|it|ƒid ƒd jƒnX|id ƒdS( Niiii ii i i s$key 5 at index 4 >= key 4 at index 5is,expected self.t_check() to catch the problem(ii ii(RRR tb0tnumtb1t firstbucketR Rtb0stateR tpairst nextbuckettnewpairsRRR RRRRRRR( RRRR RR RRRRR!((RttestKeysSwappedCs&    '(t__name__t __module__R RRRR"(((RRs    cCs titƒS(N(tunittestt makeSuiteR(((Rt test_suite_s( t__doc__R%tBTrees.OOBTreeRt BTrees.checkRtTestCaseRR'(R%RR'RR((Rt?s    J