HEX
Server: Apache
System: FreeBSD www860.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User: yoyo0427 (1306)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //usr/local/lib/python2.7/test/test_charmapcodec.pyc
�
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