mς %U²Ic@s\dZdkZdkZdZdeifd„ƒYZd„Zedjo eƒndS(sα Python character mapping codec test This uses the test codec in testcodec.py and thus also tests the encodings package lookup scheme. Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright 2000 Guido van Rossum. Nstest.testcodectCharmapCodecTestcBs,tZd„Zd„Zd„Zd„ZRS(NcCs|itdtƒdƒ|itdtƒdƒ|itdtƒdƒ|itdtƒdƒ|itd tƒd ƒdS( Ntabcuabctxdefuabcdeftdefxudefabctdxfudabcftdxfxudabcfabc(tselft assertEqualstunicodet codecname(R((t3/data/zmath/lib/python2.4/test/test_charmapcodec.pyttest_constructorxs cCs|iditƒdƒ|iditƒdƒ|iditƒdƒ|iditƒdƒ|id itƒd ƒdS( NuabcRuxdeftabcdefudefxtdefabcudxftdabcfudxfxtdabcfabc(RRtencodeR (R((R t test_encodexs cCsh|itdtƒdƒ|itdtƒdƒ|itdtƒdƒ|itdtƒdƒdS(Ntydefudeftdefytdyfudftdyfy(RRRR (R((R ttest_constructory scCs|ittdtƒdS(Nsabc(Rt assertRaisest UnicodeErrorRR (R((R ttest_maptoundefined&s(t__name__t __module__R RRR(((R Rs   cCstiitƒdS(N(ttestt test_supportt run_unittestR(((R t test_main)st__main__( t__doc__ttest.test_supportRtunittestR tTestCaseRRR(R#RRRR ((R t? s