Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_charmapcodec.pyc |
³ò h”Rc @ s„ d Z d d k Z d d k Z d d k Z d „ Z e i e ƒ d Z d e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( 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ÿÿÿÿNc C s5 | d j o$ d d k l } t | i ƒ ƒ Sn d S( Nt testcodeciÿÿÿÿ( R ( t testR t tuplet getregentryt None( t encodingR ( ( s2 /usr/local/lib/python2.5/test/test_charmapcodec.pyt codec_search_function s R t CharmapCodecTestc B s, e Z d „ Z d „ Z d „ Z d „ Z RS( c C s | i t d t ƒ d ƒ | i t d t ƒ d ƒ | i t d t ƒ d ƒ | i t d t ƒ d ƒ | i t d t ƒ d ƒ d S( Nt abcu abct xdefu abcdeft defxu defabct dxfu dabcft dxfxu dabcfabc( t assertEqualst unicodet codecname( t self( ( s2 /usr/local/lib/python2.5/test/test_charmapcodec.pyt test_constructorx s c C s | i d i t ƒ d ƒ | i d i t ƒ d ƒ | i d i t ƒ d ƒ | i d i t ƒ d ƒ | i d i t ƒ d ƒ d S( Nu abcR u xdeft abcdefu defxt defabcu dxft dabcfu dxfxt dabcfabc( R t encodeR ( R ( ( s2 /usr/local/lib/python2.5/test/test_charmapcodec.pyt test_encodex$ s c C sh | i t d t ƒ d ƒ | i t d t ƒ d ƒ | i t d t ƒ d ƒ | i t d t ƒ d ƒ d S( Nt ydefu deft defyt dyfu dft dyfy( R R R ( R ( ( s2 /usr/local/lib/python2.5/test/test_charmapcodec.pyt test_constructory+ s c C s | i t t d t ƒ d S( Ns abc( t assertRaisest UnicodeErrorR R ( R ( ( s2 /usr/local/lib/python2.5/test/test_charmapcodec.pyt test_maptoundefined1 s ( t __name__t __module__R R R R ( ( ( s2 /usr/local/lib/python2.5/test/test_charmapcodec.pyR s c C s t i i t ƒ d S( N( R t test_supportt run_unittestR ( ( ( s2 /usr/local/lib/python2.5/test/test_charmapcodec.pyt test_main4 s t __main__( t __doc__t test.test_supportR t unittestt codecsR t registerR t TestCaseR R$ R ( ( ( s2 /usr/local/lib/python2.5/test/test_charmapcodec.pys <module> s