Current Path : /usr/lib/python2.7/dist-packages/simplejson/tests/ |
Current File : //usr/lib/python2.7/dist-packages/simplejson/tests/test_check_circular.pyc |
ó ìUzMc @ s? d d l m Z d d l Z d „ Z d e f d „ ƒ YZ d S( iÿÿÿÿ( t TestCaseNc C s t | ƒ S( N( t list( t obj( ( sH /usr/lib/python2.7/dist-packages/simplejson/tests/test_check_circular.pyt default_iterable s t TestCheckCircularc B s5 e Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s* i } | | d <| j t t j | ƒ d S( Nt a( t assertRaisest ValueErrort jsont dumps( t selft dct( ( sH /usr/lib/python2.7/dist-packages/simplejson/tests/test_check_circular.pyt test_circular_dict s c C s- g } | j | ƒ | j t t j | ƒ d S( N( t appendR R R R ( R t lst( ( sH /usr/lib/python2.7/dist-packages/simplejson/tests/test_check_circular.pyt test_circular_list s c C s; i } g | d <| d j | ƒ | j t t j | ƒ d S( NR ( R R R R R ( R t dct2( ( sH /usr/lib/python2.7/dist-packages/simplejson/tests/test_check_circular.pyt test_circular_composite s c C s9 t j t ƒ g d t ƒ| j t t j t ƒ g ƒ d S( Nt default( R R t setR R t TypeError( R ( ( sH /usr/lib/python2.7/dist-packages/simplejson/tests/test_check_circular.pyt test_circular_default s c C sE t j t ƒ g d t d t ƒ| j t t j t ƒ g d t ƒd S( NR t check_circular( R R R R t FalseR R ( R ( ( sH /usr/lib/python2.7/dist-packages/simplejson/tests/test_check_circular.pyt test_circular_off_default s ( t __name__t __module__R R R R R ( ( ( sH /usr/lib/python2.7/dist-packages/simplejson/tests/test_check_circular.pyR s ( t unittestR t simplejsonR R R ( ( ( sH /usr/lib/python2.7/dist-packages/simplejson/tests/test_check_circular.pyt <module> s