ok
Direktori : /proc/thread-self/root/proc/self/root/usr/lib/python2.7/site-packages/jinja2/testsuite/ |
Current File : //proc/thread-self/root/proc/self/root/usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyo |
� ,��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 <d S( Ni i t ai t bt ci t d( R ( 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 x/ t d � D]! } t j t j | | � � } q5 Wd S( Ni i* t fooi t bari ( R t ranget picklet loadst dumps( 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 ( ( ( s: /usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyR . s t MarkupLeakTestCasec B s e Z d � Z RS( c C s| t � } xl t d � D]^ } x<