Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/test/test_charmapcodec.pyc
mò ‚=5Dc @ s\ d Z d k Z d k Z 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. Ns test.testcodect CharmapCodecTestc B s, t Z d „ Z d „ Z d „ Z d „ Z RS( Nc 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 selft assertEqualst unicodet codecname( R ( ( t, /usr/lib/python2.4/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 R t encodeR ( R ( ( R t 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 ( R ( ( R t test_constructory s c C s | i t t d t ƒ d S( Ns abc( R t assertRaisest UnicodeErrorR R ( R ( ( R t test_maptoundefined&