%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/test/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/test/test_charmapcodec.pyo

ó
Nêáac@s‚dZddlZddlZddlZd„ZejeƒdZdejfd„ƒYZ	d„Z
edkr~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(ttestRttupletgetregentrytNone(tencodingR((s2/usr/local/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(tassertEqualtunicodet	codecname(tself((s2/usr/local/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((s2/usr/local/lib/python2.7/test/test_charmapcodec.pyttest_encodex$s
cCsh|jtdtƒdƒ|jtdtƒdƒ|jtdtƒdƒ|jtdtƒdƒdS(Ntydefudeftdefytdyfudftdyfy(R
RR(R((s2/usr/local/lib/python2.7/test/test_charmapcodec.pyttest_constructory+scCs|jttdtƒdS(Nsabc(tassertRaisestUnicodeErrorRR(R((s2/usr/local/lib/python2.7/test/test_charmapcodec.pyttest_maptoundefined1s(t__name__t
__module__RRRR(((s2/usr/local/lib/python2.7/test/test_charmapcodec.pyRs			cCstjjtƒdS(N(Rttest_supporttrun_unittestR(((s2/usr/local/lib/python2.7/test/test_charmapcodec.pyt	test_main4st__main__(t__doc__ttest.test_supportRtunittesttcodecsRtregisterRtTestCaseRR$R (((s2/usr/local/lib/python2.7/test/test_charmapcodec.pyt<module>
s	
	

Zerion Mini Shell 1.0