??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php:4) in /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php:4) in /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php:4) in /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php:4) in /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php:4) in /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php:4) in /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php on line 178
ó
,òQc @ sû d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z m Z m Z m
Z
m Z m Z m
Z
d d l m Z m Z d d l m Z m Z d d l m Z d d l m Z d e f d „ ƒ YZ d
e f d „ ƒ YZ d „ Z d S(
s®
jinja2.testsuite.loader
~~~~~~~~~~~~~~~~~~~~~~~
Test the loaders.
:copyright: (c) 2010 by the Jinja Team.
:license: BSD, see LICENSE for more details.
iÿÿÿÿN( t
JinjaTestCaset dict_loadert package_loadert filesystem_loadert function_loadert
choice_loadert
prefix_loader( t Environmentt loaders( t PYPYt PY2( t split_template_path( t TemplateNotFoundt LoaderTestCasec B sY e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
RS( c C s8 t d t ƒ } | j d ƒ } | j t | j d ƒ d S( Nt loaders
justdict.htmls missing.html( R R t get_templatet
assert_raisesR ( t selft envt tmpl( ( s; /usr/lib/python2.7/site-packages/jinja2/testsuite/loader.pyt test_dict_loader s c C s8 t d t ƒ } | j d ƒ } | j t | j d ƒ d S( NR s test.htmls missing.html( R R R R R ( R R R ( ( s; /usr/lib/python2.7/site-packages/jinja2/testsuite/loader.pyt test_package_loader# s c C sG t d t ƒ } | j d ƒ } | j d ƒ } | j t | j d ƒ d S( NR s test.htmls
foo/test.htmls missing.html( R R R R R ( R R R ( ( s; /usr/lib/python2.7/site-packages/jinja2/testsuite/loader.pyt test_filesystem_loader) s c C sG t d t ƒ } | j d ƒ } | j d ƒ } | j t | j d ƒ d S( NR s
justdict.htmls test.htmls missing.html( R R R R R ( R R R ( ( s; /usr/lib/python2.7/site-packages/jinja2/testsuite/loader.pyt test_choice_loader1 s c C s8 t d t ƒ } | j d ƒ } | j t | j d ƒ d S( NR s justfunction.htmls missing.html( R R R R R ( R R R ( ( s; /usr/lib/python2.7/site-packages/jinja2/testsuite/loader.pyt test_function_loader9 s c C sG t d t ƒ } | j d ƒ } | j d ƒ } | j t | j d ƒ d S( NR s a/test.htmls b/justdict.htmlt missing( R R R R R ( R R R ( ( s; /usr/lib/python2.7/site-packages/jinja2/testsuite/loader.pyt test_prefix_loader? s c s¹ t ‰ d t j f ‡ f d † ƒ Y} t d | ƒ d d ƒ } | j d ƒ } t ‰ t ‰ t d | ƒ d d ƒ } t d | ƒ d d ƒ } | j d ƒ } | j d
ƒ } | j d ƒ } d S( Nt
TestLoaderc s e Z ‡ f d † Z RS( c s d d ‡ f d † f S( Nu fooc s ˆ S( N( ( ( t changed( s; /usr/lib/python2.7/site-packages/jinja2/testsuite/loader.pyt K s ( t None( R t environmentt template( R ( s; /usr/lib/python2.7/site-packages/jinja2/testsuite/loader.pyt
get_sourceJ s ( t __name__t
__module__R! ( ( R ( s; /usr/lib/python2.7/site-packages/jinja2/testsuite/loader.pyR I s R t
cache_sizeiÿÿÿÿR i i t onet twot three( t FalseR t
BaseLoaderR R t True( R R R R t t1t t2t t3( ( R s; /usr/lib/python2.7/site-packages/jinja2/testsuite/loader.pyt test_cachingG s c C s3 i d d 6} t d t j | ƒ ƒ } d | d