ok
Direktori : /proc/self/root/lib64/python2.7/site-packages/simplejson/tests/ |
Current File : //proc/self/root/lib64/python2.7/site-packages/simplejson/tests/test_iterable.pyc |
� h�/Vc @ sW d d l Z d d l m Z d d l Z d � Z d � Z d e j f d � � YZ d S( i����N( t StringIOc K s d j t j | � j | � � S( Nt ( t joint jsont JSONEncodert iterencode( t objt kw( ( sD /usr/lib64/python2.7/site-packages/simplejson/tests/test_iterable.pyt iter_dumps s c K s# t � } t j | | � | j � S( N( R R t dumpst getvalue( R R t sio( ( sD /usr/lib64/python2.7/site-packages/simplejson/tests/test_iterable.pyt sio_dump s t TestIterablec B s e Z d � Z RS( c C sp xig d g d d g d d d g f D]C} x:i i d d 6g D]%} xt j t t f D]} | | | � } | t | � | � } | j t | t | � | � | j t | t | � d t | �| j | | t | � d t | �� | j | | t | � d t | �� | j | | t | � d t d t | �� | j | | t | � d t d t | �� qX Wq? Wq% Wd S( Ni i i t indentt iterable_as_arrayt default( R R R R t sumt assertRaisest TypeErrort itert Falset assertEqualt True( t selft lt optsR t expectt default_expect( ( sD /usr/lib64/python2.7/site-packages/simplejson/tests/test_iterable.pyt test_iterable s +"%%+( t __name__t __module__R ( ( ( sD /usr/lib64/python2.7/site-packages/simplejson/tests/test_iterable.pyR s ( t unittestt simplejson.compatR t simplejsonR R R t TestCaseR ( ( ( sD /usr/lib64/python2.7/site-packages/simplejson/tests/test_iterable.pyt <module> s