/usr/lib64/python2.6/site-packages/simplejson/tests
Edit: /usr/lib64/python2.6/site-packages/simplejson/tests/test_indent.pyc (2995B)
Ñò
}DVc @ sR d d k l Z d d k Z d d k Z d d k l Z d e f d „ ƒ YZ d S( iÿÿÿÿ( t TestCaseN( t StringIOt
TestIndentc B s# e Z d „ Z d „ Z d „ Z RS( c
C s‚ d g d g g d d d h d d 6h d d 6t d
6g } t i d ƒ } t i | ƒ } t i | d d
d t d d ƒ} t i | d d d t d d ƒ} t i | d d d t d d ƒ} t i | ƒ } t i | ƒ } t i | ƒ } t i | ƒ }
| i | | ƒ | i | | ƒ | i | | ƒ | i |
| ƒ | i | | i d
d ƒ ƒ | i | | i d
d ƒ ƒ | i | | ƒ d S( Nt blorpiet whoopss d-shtaeous d-nthiouhs i-vhbjkhnthiW t niftyt yest fieldt morefields3 [
[
"blorpie"
],
[
"whoops"
],
[],
"d-shtaeou",
"d-nthiouh",
"i-vhbjkhnth",
{
"nifty": 87
},
{
"field": "yes",
"morefield": false
}
]t indents t sort_keyst
separatorst ,s : s i ( R s : ( R s : ( R s : ( t Falset textwrapt dedentt jsont dumpst Truet loadst assertEqualt replace( t selft ht expectt d1t d2t d3t d4t h1t h2t h3t h4( ( sB /usr/lib64/python2.6/site-packages/simplejson/tests/test_indent.pyt test_indent s( ! !!!c s= h d d 6‰ ‡ ‡ f d † } | d d ƒ | d d ƒ d S( Ni i c s^ t i ˆ d | ƒ} ˆ i | | ƒ t ƒ } t i ˆ | d | ƒˆ i | i ƒ | ƒ d S( NR ( R R R R t dumpt getvalue( R t expectedR t sio( R R ( sB /usr/lib64/python2.6/site-packages/simplejson/tests/test_indent.pyt check: s
i s
{
"3": 1
}s {"3": 1}( t None( R R&