ok
Direktori : /proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/jinja2/testsuite/ |
Current File : //proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/jinja2/testsuite/utils.pyc |
� ,��Qc @ s� d Z d d l Z d d l Z d d l Z d d l m Z d d l m Z m Z m Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d � Z d S( s� jinja2.testsuite.utils ~~~~~~~~~~~~~~~~~~~~~~ Tests utilities jinja uses. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. i����N( t JinjaTestCase( t LRUCachet escapet object_type_reprt LRUCacheTestCasec B s e Z d � Z d � Z RS( c C s� t d � } d | d <d | d <d | d <| d d | d <t | � d k sT t � d | k r� d | k r� d | k r� d | k s� t � d S( Ni i t ai t bt ci t d( R t lent AssertionError( t selfR ( ( s: /usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyt test_simple s c C s� t d � } d | d <d | d <| d xw t d � D]i } t j t j | | � � } | j | j k sn t � | j | j k s� t � | j | j k s5 t � q5 Wd S( Ni i* t fooi t bari ( R t ranget picklet loadst dumpst capacityR t _mappingt _queue( R t cachet protocolt copy( ( s: /usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyt test_pickleable! s ( t __name__t __module__R R ( ( ( s: /usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyR s t HelpersTestCasec B s e Z d � Z RS( c C s� d t f d � � Y} | j t d � d � | j t g � d � | j t | � � d � | j t d � d � | j t t � d � d S( Nt Xc B s e Z RS( ( R R ( ( ( s: /usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyR 1 s i* s int objects list objects jinja2.testsuite.utils.X objectt Nonet Ellipsis( t objectt assert_equalR R R ( R R ( ( s: /usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyt test_object_type_repr0 s ( R R R"