+
    WBi                         ^ RI t ^ RIHt ^ RIHt ^ RIHt ^RIHt ^RIHt  ! R R4      t	 ! R	 R
]4      t
]! R]R
4       R# )    N)	CacheImpl)register_plugin)Template)eq_)configc                   P   a  ] tR t^
t o R tR tR	R ltR	R ltR
R ltR t	Rt
V tR# )TemplateTestc           	     b    V P                  V4      p\        RR VRVR\        P                  /VB # )urifilenamemodule_directory )
_file_pathr   r   module_base)selfr   kwfilepaths   &&, :/usr/lib/python3.14/site-packages/mako/testing/fixtures.py_file_templateTemplateTest._file_template   sG    ??8, 


 $//
 	
 	
    c                f   \         P                  P                  V4      w  r#\         P                  P                  \        P
                  VR ,           V,           4      p\         P                  P                  V4      '       d   V# \         P                  P                  \        P
                  V4      # )_py3k)ospathsplitextjoinr   template_baseexists)r   r   nameext	py3k_paths   &&   r   r   TemplateTest._file_path   so    GG$$X.	GGLL!5!5tg~7KL	77>>)$$ww||F00(;;r   Nc                X    V P                   ! V3/ VB pV P                  VVVVVR 7       R# )filtersunicode_template_argsN)r   _do_test)r   r   expectedr&   r'   r(   r   t1s   &&&&&&, r   _do_file_testTemplateTest._do_file_test   s9       0R0' 	 	
r   c                L    \        RR V/VB pV P                  VVVVVR7       R# )textr%   Nr   )r   r)   )r   sourcer*   r&   r'   r(   r   r+   s   &&&&&&, r   _do_memory_testTemplateTest._do_memory_test.   s6     (6(R(' 	 	
r   c                    Vf   / pV'       d   VP                   ! R/ VB pMVP                  ! R/ VB pV'       d	   V! V4      p\        Wb4       R # Nr   )render_unicoderenderr   )r   templater*   r&   r(   r'   outputs   &&&&&& r   r)   TemplateTest._do_test@   sJ      M,,=}=F__5}5FV_FFr   c                   a R V R 2pRV R2RV R23p\         ;QJ d    V3R lV 4       F  '       g   K   R# 	  R# ! V3R lV 4       4      # )z&#39;zlocal variable z referenced before assignmentzcannot access local variable z where it is not associatedc              3   ,   <"   T F	  qS9   x  K  	  R # 5iNr   ).0msgrendered_outputs   & r   	<genexpr>=TemplateTest.indicates_unbound_local_error.<locals>.<genexpr>[   s     Bz?*zs   TF)any)r   r?   unbound_varvar
error_msgss   &f&  r   indicates_unbound_local_error*TemplateTest.indicates_unbound_local_errorS   s_    k]%( cU"?@+C50KL	

 sBzBssBsBsBzBBBr   r   )NTN)NNT)__name__
__module____qualname____firstlineno__r   r   r,   r1   r)   rF   __static_attributes____classdictcell____classdict__s   @r   r	   r	   
   s*     
<
$
$&C Cr   r	   c                   B   a  ] tR t^^t o RtR tR tR tR tR t	Rt
V tR# )	PlainCacheImplzPSimple memory cache impl so that tests which
use caching can run without beaker.c                     Wn         / V n        R # r<   cachedata)r   rT   s   &&r   __init__PlainCacheImpl.__init__b   s    
	r   c                z    WP                   9   d   V P                   V,          # V! R/ VB ;V P                   V&   pV# r4   rU   )r   keycreation_functionr   rU   s   &&&, r   get_or_createPlainCacheImpl.get_or_createf   s9    ))99S>!$5$;$;;DIIcNTKr   c                "    W P                   V&   R # r<   rY   )r   rZ   valuer   s   &&&,r   putPlainCacheImpl.putm   s    		#r   c                (    V P                   V,          # r<   rY   r   rZ   r   s   &&,r   getPlainCacheImpl.getp   s    yy~r   c                     V P                   V R # r<   rY   rc   s   &&,r   
invalidatePlainCacheImpl.invalidates   s    IIcNr   rS   N)rH   rI   rJ   rK   __doc__rV   r\   r`   rd   rg   rL   rM   rN   s   @r   rQ   rQ   ^   s(     + r   rQ   plain)r   
mako.cacher   r   mako.templater   
assertionsr   r   r	   rQ   rH   r   r   r   <module>rn      sA    	   & "  QC QChY 2 #3 4r   