Ñò
#œœIc @ s6 d d k l Z d d k Z d e f d „ ƒ YZ d S( iÿÿÿÿ( t TestCaseNt TestUnicodec B sk e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z d
„ Z RS( c C sY t i d d ƒ } d } | i d ƒ } | i | ƒ } | i | ƒ } | i | | ƒ d S( Nt encodings utf-8u αΩ( t jsont JSONEncodert encodet assertEquals( t selft encodert ut st jut js( ( sC /usr/lib64/python2.6/site-packages/simplejson/tests/test_unicode.pyt test_encoding1 s c C sS d } | i d ƒ } t i | d d ƒ} t i | d d ƒ} | i | | ƒ d S( Nu αΩs utf-8R ( R R t dumpsR ( R R R
R R ( ( sC /usr/lib64/python2.6/site-packages/simplejson/tests/test_unicode.pyt test_encoding2 s
c C s) d } t i | ƒ } | i | d ƒ d S( Nu αΩs "\u03b1\u03a9"( R R R ( R R t j( ( sC /usr/lib64/python2.6/site-packages/simplejson/tests/test_unicode.pyt test_encoding3 s c C s, d } t i | g ƒ } | i | d ƒ d S( Nu αΩs ["\u03b1\u03a9"]( R R R ( R R R ( ( sC /usr/lib64/python2.6/site-packages/simplejson/tests/test_unicode.pyt test_encoding4 s c C s6 d } t i | d t ƒ} | i | d | f ƒ d S( Nu αΩt ensure_asciiu "%s"( R R t FalseR ( R R R ( ( sC /usr/lib64/python2.6/site-packages/simplejson/tests/test_unicode.pyt test_encoding5 s c C s9 d } t i | g d t ƒ} | i | d | f ƒ d S( Nu αΩR u ["%s"]( R R R R ( R R R ( ( sC /usr/lib64/python2.6/site-packages/simplejson/tests/test_unicode.pyt test_encoding6$ s c C sB d } | i t i | ƒ d ƒ | i t i | d t ƒd ƒ d S( Nu ð„ s "\ud834\udd20"R u "ð„ "( R R R R ( R R ( ( sC /usr/lib64/python2.6/site-packages/simplejson/tests/test_unicode.pyt test_big_unicode_encode) s c C sD d } | i t i d | d ƒ | ƒ | i t i d ƒ | ƒ d S( Nu zð„ xt "s "z\ud834\udd20x"( R R t loads( R R ( ( sC /usr/lib64/python2.6/site-packages/simplejson/tests/test_unicode.pyt test_big_unicode_decode. s !c C sP xI t d d ƒ D]8 } t | ƒ } d | f } | i t i | ƒ | ƒ q Wd S( Ni iÿ× s "\u%04x"( t ranget unichrR R R ( R t iR R
( ( sC /usr/lib64/python2.6/site-packages/simplejson/tests/test_unicode.pyt test_unicode_decode3 s
c C s- | i t i d i d ƒ ƒ h d d 6ƒ d S( Nu {"a": "é"}s utf-8u ét a( R R R R ( R ( ( sC /usr/lib64/python2.6/site-packages/simplejson/tests/test_unicode.pyt test_default_encoding9 s c C se | i t t i d ƒ ƒ t ƒ | i t t i d ƒ ƒ t ƒ | i t t i d ƒ d ƒ t ƒ d S( Nu ""u "a"u ["a"]i ( R t typeR R t unicode( R ( ( sC /usr/lib64/python2.6/site-packages/simplejson/tests/test_unicode.pyt test_unicode_preservation= s (
t __name__t
__module__R
R R R R R R R R R R# ( ( ( sC /usr/lib64/python2.6/site-packages/simplejson/tests/test_unicode.pyR s ( t unittestR t
simplejsonR R ( ( ( sC /usr/lib64/python2.6/site-packages/simplejson/tests/test_unicode.pyt