ok
Direktori : /proc/thread-self/root/usr/lib64/python2.7/site-packages/simplejson/tests/ |
Current File : //proc/thread-self/root/usr/lib64/python2.7/site-packages/simplejson/tests/test_tuple.pyo |
� @ɪUc @ sE d d l Z d d l m Z d d l Z d e j f d � � YZ d S( i����N( t StringIOt TestTuplesc B s e Z d � Z d � Z RS( c C s� d } t j t | � � } | j | t j | � � | j | t j | d t �� | j t t j | d t �| j | t j | d t �� | j | t j | d t d t �� | j t j t | � � t j | d t d t �� d S( Ni i i t tuple_as_arrayt default( i i i ( t jsont dumpst listt assertEqualt Truet assertRaisest TypeErrort Falset repr( t selft tt expect( ( sA /usr/lib64/python2.7/site-packages/simplejson/tests/test_tuple.pyt test_tuple_array_dumps s c C s_ d } t j t | � � } t � } t j | | � | j | | j � � t � } t j | | d t �| j | | j � � | j t t j | t � d t �t � } t j | | d t �| j | | j � � t � } t j | | d t d t �| j | | j � � t � } t j | | d t d t �| j t j t | � � | j � � d S( Ni i i R R ( i i i ( R R R R t dumpR t getvalueR R R R R ( R R R t sio( ( sA /usr/lib64/python2.7/site-packages/simplejson/tests/test_tuple.pyt test_tuple_array_dump s* ( t __name__t __module__R R ( ( ( sA /usr/lib64/python2.7/site-packages/simplejson/tests/test_tuple.pyR s ( t unittestt simplejson.compatR t simplejsonR t TestCaseR ( ( ( sA /usr/lib64/python2.7/site-packages/simplejson/tests/test_tuple.pyt <module> s