tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
O\¬Qc@s‚dZddlZddlZddlZd„ZejeƒdZdejfd„ƒYZ    d„Z
e dkr~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.
 
iÿÿÿÿNcCs0|dkr,ddlm}t|jƒƒSdS(Nt    testcodeciÿÿÿÿ(R(ttestRttuplet getregentrytNone(tencodingR((s^/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_charmapcodec.pytcodec_search_functions RtCharmapCodecTestcBs,eZd„Zd„Zd„Zd„ZRS(cCs|jtdtƒdƒ|jtdtƒdƒ|jtdtƒdƒ|jtdtƒdƒ|jtd    tƒd
ƒdS( Ntabcuabctxdefuabcdeftdefxudefabctdxfudabcftdxfxudabcfabc(t assertEqualtunicodet    codecname(tself((s^/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_charmapcodec.pyttest_constructorxs
cCs|jdjtƒdƒ|jdjtƒdƒ|jdjtƒdƒ|jdjtƒdƒ|jd    jtƒd
ƒdS( NuabcRuxdeftabcdefudefxtdefabcudxftdabcfudxfxtdabcfabc(R tencodeR(R((s^/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_charmapcodec.pyt test_encodex$s
cCsh|jtdtƒdƒ|jtdtƒdƒ|jtdtƒdƒ|jtdtƒdƒdS(Ntydefudeftdefytdyfudftdyfy(R RR(R((s^/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_charmapcodec.pyttest_constructory+scCs|jttdtƒdS(Nsabc(t assertRaisest UnicodeErrorRR(R((s^/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_charmapcodec.pyttest_maptoundefined1s(t__name__t
__module__RRRR(((s^/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_charmapcodec.pyRs            cCstjjtƒdS(N(Rt test_supportt run_unittestR(((s^/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_charmapcodec.pyt    test_main4st__main__( t__doc__ttest.test_supportRtunittesttcodecsRtregisterRtTestCaseRR$R (((s^/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_charmapcodec.pyt<module>
s