Your IP : 216.73.216.213


Current Path : /opt/alt/python33/lib64/python3.3/test/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/test/__pycache__/test_charmapcodec.cpython-33.pyc

�
��fc@s�dZddlZddlZddlZdd�Zeje�dZGdd�dej�Z	dd	�Z
ed
kr�e
�ndS(u� 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.

iNcCs0|dkr,ddlm}t|j��SdS(Nu	testcodeci(u	testcodec(utestu	testcodecutupleugetregentryuNone(uencodingu	testcodec((u;/opt/alt/python33/lib64/python3.3/test/test_charmapcodec.pyucodec_search_functionsucodec_search_functionu	testcodeccBsD|EeZdZdd�Zdd�Zdd�Zdd�Zd	S(
uCharmapCodecTestcCs�|jtdt�d�|jtdt�d�|jtdt�d�|jtdt�d�|jtd	t�d
�dS(Nsabcuabcsxdefuabcdefsdefxudefabcsdxfudabcfsdxfxudabcfabc(uassertEqualustru	codecname(uself((u;/opt/alt/python33/lib64/python3.3/test/test_charmapcodec.pyutest_constructorxs
u"CharmapCodecTest.test_constructorxcCs�|jdjt�d�|jdjt�d�|jdjt�d�|jdjt�d�|jd	jt�d
�dS(Nuabcsabcuxdefsabcdefudefxsdefabcudxfsdabcfudxfxsdabcfabc(uassertEqualuencodeu	codecname(uself((u;/opt/alt/python33/lib64/python3.3/test/test_charmapcodec.pyutest_encodex$s
uCharmapCodecTest.test_encodexcCsh|jtdt�d�|jtdt�d�|jtdt�d�|jtdt�d�dS(Nsydefudefsdefysdyfudfsdyfy(uassertEqualustru	codecname(uself((u;/opt/alt/python33/lib64/python3.3/test/test_charmapcodec.pyutest_constructory+su"CharmapCodecTest.test_constructorycCs|jttdt�dS(Nsabc(uassertRaisesuUnicodeErrorustru	codecname(uself((u;/opt/alt/python33/lib64/python3.3/test/test_charmapcodec.pyutest_maptoundefined1su$CharmapCodecTest.test_maptoundefinedN(u__name__u
__module__u__qualname__utest_constructorxutest_encodexutest_constructoryutest_maptoundefined(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_charmapcodec.pyuCharmapCodecTestsuCharmapCodecTestcCstjjt�dS(N(utestusupporturun_unittestuCharmapCodecTest(((u;/opt/alt/python33/lib64/python3.3/test/test_charmapcodec.pyu	test_main4su	test_mainu__main__(u__doc__utest.supportutestuunittestucodecsucodec_search_functionuregisteru	codecnameuTestCaseuCharmapCodecTestu	test_mainu__name__(((u;/opt/alt/python33/lib64/python3.3/test/test_charmapcodec.pyu<module>
s