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_item_sort_key.pyo |
� �/HYc @ sF d d l m Z d d l Z d d l m Z d e f d � � YZ d S( i����( t TestCaseN( t itemgettert TestItemSortKeyc B s# e Z d � Z d � Z d � Z RS( c C sp i d d 6d d 6d d 6d d 6d d d d g d 6d d 6d d 6d d 6} | j d t j | d t j �� d S( Ni t ai t ct jillt jackt axet picki i t arrayiS i i t tuplet dogt cratet oht zeaksz {"a": 1, "c": 5, "crate": "dog", "jack": "jill", "pick": "axe", "zeak": "oh", "array": [1, 5, 6, 9], "tuple": [83, 12, 3]}t item_sort_key( iS i i ( t assertEqualt jsont dumpst simple_first( t selfR ( ( sI /usr/lib64/python2.7/site-packages/simplejson/tests/test_item_sort_key.pyt test_simple_first s Jc C s� i d d 6d d 6d d 6d d 6d d d d g d 6d d 6d d 6d d 6} | j d t j | d t d � �� | j d t j | d d � �� d S( Ni R i R R t JackR R i i t ArrayiS i i R R R R R sz {"Array": [1, 5, 6, 9], "Jack": "jill", "a": 1, "c": 5, "crate": "dog", "pick": "axe", "tuple": [83, 12, 3], "zeak": "oh"}R i sz {"a": 1, "Array": [1, 5, 6, 9], "c": 5, "crate": "dog", "Jack": "jill", "pick": "axe", "tuple": [83, 12, 3], "zeak": "oh"}c S s | d j � S( Ni ( t lower( t kv( ( sI /usr/lib64/python2.7/site-packages/simplejson/tests/test_item_sort_key.pyt <lambda> s ( iS i i ( R R R R ( R R ( ( sI /usr/lib64/python2.7/site-packages/simplejson/tests/test_item_sort_key.pyt test_case s Jc C s: i d d 6d d 6} | j d t j | d d � �� d S( Ni R i t bs {"b": 0, "a": 1}R c S s | d S( Ni ( ( R ( ( sI /usr/lib64/python2.7/site-packages/simplejson/tests/test_item_sort_key.pyR s ( R R R ( R R ( ( sI /usr/lib64/python2.7/site-packages/simplejson/tests/test_item_sort_key.pyt test_item_sort_key_value s ( t __name__t __module__R R R ( ( ( sI /usr/lib64/python2.7/site-packages/simplejson/tests/test_item_sort_key.pyR s ( t unittestR t simplejsonR t operatorR R ( ( ( sI /usr/lib64/python2.7/site-packages/simplejson/tests/test_item_sort_key.pyt <module> s