mς &U²Ic@shdZdkZdkZdklZdefd„ƒYZdefd„ƒYZdfd„ƒYZdS( s&Support code for distutils test cases.N(slogtLoggingSilencercBstZd„Zd„ZRS(NcCs,tt|ƒiƒtitiƒ|_dS(N(tsuperRtselftsetUptlogt set_thresholdtFATALt threshold(R((t4/data/zmath/lib/python2.4/distutils/tests/support.pyR scCs'ti|iƒtt|ƒiƒdS(N(RRRRRRttearDown(R((RR s(t__name__t __module__RR (((RR s tTempdirManagercBs)tZdZd„Zd„Zd„ZRS(s}Mix-in class that handles temporary directories for test cases. This is intended to be used with unittest.TestCase. cCs tt|ƒiƒg|_dS(N(RR RRttempdirs(R((RRscCsEtt|ƒiƒx+|io |iiƒ}ti|ƒqWdS(N( RR RR R tpoptdtshutiltrmtree(RR((RR s  cCs tiƒ}|ii|ƒ|S(sjCreate a temporary directory that will be cleaned up. Returns the path of the directory. N(ttempfiletmkdtempRRR tappend(RR((RR$s (R R t__doc__RR R(((RR s   t DummyCommandcBs tZdZd„Zd„ZRS(sAClass to store options for retrieval via set_undefined_options().cKs1x*|iƒD]\}}t|||ƒq WdS(N(tkwargstitemstkwtvaltsetattrR(RRRR((Rt__init__1s cCsdS(N((R((Rtensure_finalized5s(R R RRR(((RR.s  ( RRRt distutilsRtobjectRR R(R RRRRR((Rt?s