+
    h                     L    ^ RI t ^ RIHtHtHt ^ RIHt R tR tR t	R t
R tR# )	    N)cacheitcached_propertylazy_function)raisesc                  j    \         R  4       p V P                  R8X  g   Q hV P                  R8X  g   Q hR# )c                     R# )test docstringN r
       =/usr/lib/python3/dist-packages/sympy/core/tests/test_cache.pytestfn test_cacheit_doc.<locals>.testfn   s     	r   r	   r   N)r   __doc____name__)r   s    r   test_cacheit_docr      s;      >>----??h&&&r   c                      \         R  4       p V ! ^4      ^8X  g   Q hV ! ^4      ^8X  g   Q h/ pV ! V4      / 8X  g   Q h^V^&   V ! V4      ^^/8X  g   Q hR# )c                     V # Nr
   )xs   &r   testit'test_cacheit_unhashable.<locals>.testit   s    r   N)r   )r   as     r   test_cacheit_unhashabler      sj      !9>>!9>>
A!9??AaD!9Ar   c                    a aa . o \         V 3R  l4       o\        \        V3R l4       \        S 4      ^8X  g   Q hS P	                  4        \        \        V3R l4       \        S 4      ^8X  g   Q h\         V 3R l4       oS P	                  4        \        \        V3R l4       \        S 4      ^8X  g   Q hS P	                  4        \        \        V3R l4       \        S 4      ^8X  g   Q hR# )c                 2   < SP                  ^ 4       \        h)r   append	TypeErrorr   r   s   &r   testf$test_cachit_exception.<locals>.testf    s    	r   c                     < S ! ^4      #    r
   r    s   r   <lambda>'test_cachit_exception.<locals>.<lambda>%   s	    eAhr   c                     < S ! . 4      # r   r
   r%   s   r   r&   r'   *   s	    eBir   c                 <   < SP                  ^ 4       \        R4      h)r   Errorr   r   s   &r   testf2%test_cachit_exception.<locals>.testf2-   s    	  r   c                     < S ! ^4      # r#   r
   r+   s   r   r&   r'   3   s	    fQir   c                     < S ! . 4      # r   r
   r.   s   r   r&   r'   8   s	    fRjr   N)r   r   r   lenclear)r   r    r+   s   @@@r   test_cachit_exceptionr2      s     	A  9&'q6Q;;GGI
9'(q6Q;;! ! GGI
9'(q6Q;;GGI
9()q6Q;;r   c                      ! R  R4      p V ! ^4      pVP                   ^ 8X  g   Q hVP                  ^8X  g   Q hVP                   ^8X  g   Q hVP                  ^8X  g   Q hVP                   ^8X  g   Q hV ! R4      pVP                  R8X  g   Q hR# )c                   6   a  ] tR t^<t o R t]R 4       tRtV tR# )test_cached_property.<locals>.Ac                     Wn         ^ V n        R# )r   N)valuecalls)selfr7   s   &&r   __init__(test_cached_property.<locals>.A.__init__=   s    JDJr   c                J    V P                   ^,           V n         V P                  # r#   r8   r7   )r9   s   &r   prop$test_cached_property.<locals>.A.propA   s    aDJ::r   r=   N)	r   
__module____qualname____firstlineno__r:   r   r>   __static_attributes____classdictcell__)__classdict__s   @r   Ar5   <   s     	 
	 
	r   rF   N)r8   r>   )rF   r   bs      r   test_cached_propertyrH   ;   s      	
!A77a<<66Q;;77a<<66Q;;77a<<	$A66T>>r   c                      R p Rp\        W4      pV! R4      R8X  g   Q hV \        P                  9   g   Q hV\        V4      9   g   Q h\	        V4      pRV9   g   Q hW9   g   Q h\        RR4      pR# )zxmlrpc.clientgzip_decoder   LazyFunctionzsympy.core.cachecheapN)r   sysmodulesstrrepr)module_namefunction_namelazy	repr_lazys       r   test_lazy_functionrU   P   s|    K!M4D9#++%%%CI%%%T
IY&&&%%%+W5Dr   )rM   sympy.core.cacher   r   r   sympy.testing.pytestr   r   r   r2   rH   rU   r
   r   r   <module>rX      s+    
 D D ''
B*6r   