UzMc @ sB d d l Z d d l m Z d d l Z d e f d YZ d S( iN( t TestCaset TestSeparatorsc B s e Z d Z RS( c
C s d g d g g d d d i d d 6i d d 6t d
6g } t j d } t j | } t j | d d
d t d d } t j | } t j | } | j | | | j | | | j | | d S( Nt blorpiet whoopss d-shtaeous d-nthiouhs i-vhbjkhnthiW t niftyt yest fieldt morefieldsT [
[
"blorpie"
] ,
[
"whoops"
] ,
[] ,
"d-shtaeou" ,
"d-nthiouh" ,
"i-vhbjkhnth" ,
{
"nifty" : 87
} ,
{
"field" : "yes" ,
"morefield" : false
}
]t indents t sort_keyst
separatorss ,s : ( s ,s : ( t Falset textwrapt dedentt jsont dumpst Truet loadst assertEquals( t selft ht expectt d1t d2t h1t h2( ( sS /opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_separators.pyt test_separators s ! !( t __name__t
__module__R ( ( ( sS /opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_separators.pyR s ( R t unittestR t
simplejsonR R ( ( ( sS /opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_separators.pyt <module> s