ó {G_Tc@sƒddlZddlmZmZddlZdejfd„ƒYZdejfd„ƒYZd„Z e dkre ƒndS( iÿÿÿÿN(t test_supportttest_genericpathtMacPathTestCasecBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs|jtjdƒdƒdS(Nsxx:yy(t assertEqualtmacpathtabspath(tself((s-/usr/local/lib/python2.7/test/test_macpath.pyt test_abspathscCs’tj}|j|dƒƒ|j|dƒƒ|j|dƒƒ|j|dƒƒ|j|dƒƒ|j|dƒƒ|j|dƒƒdS(Nsxx:yysxx:yy:sxx:tfoos:foos:foo:bars :foo:bar:(Rtisabst assertTruet assertFalse(RR ((s-/usr/local/lib/python2.7/test/test_macpath.pyt test_isabs s cCsetj}|j|dƒd ƒ|j|dƒd ƒ|j|dƒd ƒ|j|dƒd ƒdS(Nsfoo:barsfoo:tbarsconky:mountpoint:foo:barsconky:mountpoint:foot:ts:conky:mountpoint:s:conky:mountpoint(sfoo:R (sconky:mountpoint:fooR (RR(s:conky:mountpointR(RtsplitR(RR((s-/usr/local/lib/python2.7/test/test_macpath.pyt test_splits cCs§tj}|j|dƒd ƒ|j|dƒd ƒ|j|dƒd ƒ|j|dƒdƒ|j|dƒdƒ|j|dƒdƒ|j|d ƒdƒdS(Ns:foo.exts:foos.exts foo:foo.extsfoo:fooRs foo.ext:foos :foo.ext:s foo.bar.extsfoo.bar(s:foos.ext(sfoo:foos.ext(s.extR(s foo.ext:fooR(s :foo.ext:R(RR(sfoo.bars.ext(RtsplitextR(RR((s-/usr/local/lib/python2.7/test/test_macpath.pyt test_splitext s cCs1x*dD]"}|jtj|ƒtdƒqWdS( Nuu.u/u\u:u///foo/.//bar//s*normpath() returned str instead of unicode(uu.u/u\u:u///foo/.//bar//(tassertIsInstanceRtnormpathtunicode(Rtpath((s-/usr/local/lib/python2.7/test/test_macpath.pyt test_normpath*s (t__name__t __module__RR RRR(((s-/usr/local/lib/python2.7/test/test_macpath.pyRs   t MacCommonTestcBseZeZRS((RRRt pathmodule(((s-/usr/local/lib/python2.7/test/test_macpath.pyR0scCstjttƒdS(N(Rt run_unittestRR(((s-/usr/local/lib/python2.7/test/test_macpath.pyt test_main4st__main__( RttestRRtunittesttTestCaseRt CommonTestRRR(((s-/usr/local/lib/python2.7/test/test_macpath.pyts  *