+
    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V\         P                  P                  8:  g   Q h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complexitiesLinearselfbestotherss   &  r   test_implied_dirs_performance,TestComplexity.test_implied_dirs_performance   sZ    {{GW]]77EEF  # 
 u))00000    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lenr5   r6   mapr   islice)clsr<   letters
n_productsinputscombinationsnamess   &&&    r   r8   TestComplexity.make_names)   se     DIIdhhuc'l&CDE
j( ((&1BGG\*--r&   c                @    \        V P                  \        V4      4      # )N)rJ   make_deep_pathr   rL   r;   s   &&r   r7   TestComplexity.make_deep_paths<   s    3%%uU|44r&   c                2    R P                  RV,          4      # )rD   )zd/)r   rU   s   &&r   rT   TestComplexity.make_deep_path@   s    www''r&   c                    \         P                  R  V P                  ^d^R7      w  rV\         P                  P                  8:  g   Q h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   rT   r   Constantr    s   &  r   test_baseline_regex_complexity-TestComplexity.test_baseline_regex_complexityD   sE    {{;	 # 
 u))22222r&   c                    \         P                  R  V P                  ^d^R7      w  rV\         P                  P                  8:  g   Q h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   rA   r   r   r    s   &  r   test_glob_depthTestComplexity.test_glob_depthM   sE    {{4	 # 
 u))00000r&   c                   a  \         P                  R  V 3R l^d^R7      w  rV\         P                  P                  8:  g   Q hR# )c                 6    \        V P                  R 4      4      # rd   re   r]   s   &r   r   0TestComplexity.test_glob_width.<locals>.<lambda>Z   rh   r&   c                 (   < SP                  V R 7      # ))r<   rA   r   r!   s   &r   r   rm   [   s    ++$+7r&   r   Nr   r   r   r    s   f  r   test_glob_widthTestComplexity.test_glob_widthW   s@    {{47	 # 
 u))00000r&   c                   a  \         P                  R  V 3R l^
^R7      w  rV\         P                  P                  8:  g   Q hR# )c                 6    \        V P                  R 4      4      # rd   re   r]   s   &r   r   :TestComplexity.test_glob_width_and_depth.<locals>.<lambda>d   rh   r&   c                 (   < SP                  W R 7      # ))r;   r<   ro   rp   s   &r   r   rv   e   s    ++$+Cr&   r   Nrq   r    s   f  r   test_glob_width_and_depth(TestComplexity.test_glob_width_and_deptha   s@    {{4C	 # 
 u))00000r&    N)   r{   )__name__
__module____qualname____firstlineno__r   markflakyr$   rA   classmethodr   r   r8   r7   rT   r`   ri   rr   rx   __static_attributes____classdictcell__)r,   s   @r   r	   r	      s     [[	1 	1	  	  '-'='= . .$ 5 5 ( (3 [[1 1 [[1 1 [[1 1r&   r	   )r3   r5   rF   r[   r   unittestr   
_functoolsr   
_itertoolsr   _supportr   r   r   TestCaser	   rz   r&   r   <module>r      sK    	   	      $w		!X1X&& X1r&   