+
    Bi                         ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^RIHt ^RI	H
t
 ^RIHt ]! R4      t]! R4      t ! R R]P                  4      tR# )	    N)compose)consume)import_or_skipbig_opytestc                   f  a  ] tR t^t o ]P
                  P                  R 4       tRV 3R lR llt]	]
P                  3R l4       t]	R 4       t]	R 4       tR t]P
                  P                  R 4       t]P
                  P                  R	 4       t]P
                  P                  R
 4       tRtV tR# )TestComplexityc                    \         P                  \        \        \        P                  P
                  P                  4      R  R^R7      w  rR# )c           	          \        V 4       Uu. uF2  pR P                  \        P                  \	        V4      ,           4      NK4  	  up# u upi )/)rangejoinstringascii_lowercasestr)sizens   & >/usr/lib/python3.14/test/test_zipfile/_path/test_complexity.py<lambda>>TestComplexity.test_implied_dirs_performance.<locals>.<lambda>   s:    CH;CNa//#a&89; s   8A	i  max_nmin_nN)r   r   r   zipfile_pathCompleteDirs_implied_dirsselfbestotherss   &  r   test_implied_dirs_performance,TestComplexity.test_implied_dirs_performance   s@    {{GW]]77EEF  # 
f    c                4   < V ^8  d   QhRS[ P                  /# )   return)r   Path)format__classdict__s   "r   __annotate__TestComplexity.__annotate__   s     	  	  	 r$   c                @   \         P                  ! \        P                  ! 4       RR7      p\        P
                  ! V P                  V4      V P                  V4      4      pV F  w  rVVP                  V V R2R4       K  	  RVn	        \         P                  ! V4      # )z<
Construct a Path with width files at every level of depth.
w)modez.txtr$   z
big un.zip)r   ZipFileioBytesIO	itertoolsproductmake_deep_paths
make_nameswritestrfilenamer(   )r   depthwidthzfpairspathnames   &&&    r   make_zip_pathTestComplexity.make_zip_path   s{     __RZZ\4!!$"6"6u"=tu?UVJDKK4&d+S1  "||Br$   c                   \        ^\        P                  ! \        P                  ! V\	        V4      4      4      4      pV3V,          p\
        P                  ! V!  p\        RP                  V4      p\
        P                  ! Wa4      # )z
>>> list(TestComplexity.make_names(1))
['a']
>>> list(TestComplexity.make_names(2))
['a', 'b']
>>> list(TestComplexity.make_names(30))
['aa', 'ab', ..., 'bd']
>>> list(TestComplexity.make_names(17124))
['aaa', 'aab', ..., 'zip']
 )
maxmathceilloglenr3   r4   mapr   islice)clsr:   letters
n_productsinputscombinationsnamess   &&&    r   r6   TestComplexity.make_names)   se     DIIdhhuc'l&CDE
j( ((&1BGG\*--r$   c                @    \        V P                  \        V4      4      # )N)rH   make_deep_pathr   rJ   r9   s   &&r   r5   TestComplexity.make_deep_paths<   s    3%%uU|44r$   c                2    R P                  RV,          4      # )rB   )zd/)r   rS   s   &&r   rR   TestComplexity.make_deep_path@   s    www''r$   c                R    \         P                  R  V P                  ^d^R7      w  rR# )c                 0    \         P                  ! R V 4      # )z[^/]*\\.txt)re	fullmatchr=   s   &r   r   ?TestComplexity.test_baseline_regex_complexity.<locals>.<lambda>F   s    nd;r$   r   N)r   rR   r   s   &  r   test_baseline_regex_complexity-TestComplexity.test_baseline_regex_complexityD   s+    {{;	 # 
fr$   c                R    \         P                  R  V P                  ^d^R7      w  rR# )c                 6    \        V P                  R 4      4      # z*.txtr   globr[   s   &r   r   0TestComplexity.test_glob_depth.<locals>.<lambda>P       7!34r$   r   N)r   r?   r   s   &  r   test_glob_depthTestComplexity.test_glob_depthM   s+    {{4	 # 
fr$   c                H   a  \         P                  R  V 3R l^d^R7      w  rR# )c                 6    \        V P                  R 4      4      # ra   rb   r[   s   &r   r   0TestComplexity.test_glob_width.<locals>.<lambda>Z   re   r$   c                 (   < SP                  V R 7      # ))r:   r?   r   r   s   &r   r   rj   [   s    ++$+7r$   r   Nr   r   s   f  r   test_glob_widthTestComplexity.test_glob_widthW   s&    {{47	 # 
fr$   c                H   a  \         P                  R  V 3R l^
^R7      w  rR# )c                 6    \        V P                  R 4      4      # ra   rb   r[   s   &r   r   :TestComplexity.test_glob_width_and_depth.<locals>.<lambda>d   re   r$   c                 (   < SP                  W R 7      # ))r9   r:   rl   rm   s   &r   r   rs   e   s    ++$+Cr$   r   Nrn   r   s   f  r   test_glob_width_and_depth(TestComplexity.test_glob_width_and_deptha   s&    {{4C	 # 
fr$    N)   rx   )__name__
__module____qualname____firstlineno__r   markflakyr"   r?   classmethodr   r   r6   r5   rR   r]   rf   ro   ru   __static_attributes____classdictcell__)r*   s   @r   r	   r	      s     [[	1 	1	  	  '-'='= . .$ 5 5 ( (3 [[1 1 [[1 1 [[1 1r$   r	   )r1   r3   rD   rY   r   unittestr   
_functoolsr   
_itertoolsr   _supportr   r   r   TestCaser	   rw   r$   r   <module>r      sK    	   	      $w		!X1X&& X1r$   