
    dafA                     \    d dl Z ddlmZmZ  G d de      Zh dZ ee      Zd Zd Z	d	 Z
y)
    N   )	StubClassstub_factoryc                   *    e Zd Zd Zd Zd Zd Zd Zy)StubStrategyc                 J    |j                   xs t        |      }| d| d| dS )N.())__name__repr)selftransformation_namefunc	func_names       D/root/Python-3.12.4/Lib/test/support/_hypothesis_stubs/strategies.py__make_trailing_reprz!StubStrategy.__make_trailing_repr   s/    MM/T$Z	./q1==    c                 D    | j                  | j                  d|            S )Nmap
_with_repr!_StubStrategy__make_trailing_repr)r   packs     r   r   zStubStrategy.map   s    t88EFFr   c                 D    | j                  | j                  d|            S )Nflatmapr   )r   expands     r   r   zStubStrategy.flatmap   s    t88FKLLr   c                 D    | j                  | j                  d|            S )Nfilterr   )r   	conditions     r   r   zStubStrategy.filter   s    t889MNNr   c                 6    d| d|d}| j                  |      S )Nzone_of(z, r   )r   )r   othernew_reprs      r   __or__zStubStrategy.__or__   s%    THBuiq1x((r   N)r   
__module____qualname__r   r   r   r   r$    r   r   r   r      s    >GMO)r   r   >*   datajustnonesetstextdatesliststimesuuidsbinarybuildsemailsfloatsone_ofrunnersharedslicestuplesnothingrandomsbooleansdecimalsdeferredintegers	composite	datetimes	fractions	from_type	functions	iterables	recursive
characters
from_regex
frozensets
timedeltasdictionariespermutationssampled_fromrandom_modulecomplex_numbersfixed_dictionariesregister_type_strategyc                 v    t        t        | j                        t        j                  |       fd       }|S )Nc                       | i |S Nr'   )argskwargsstrategys     r   innerzcomposite.<locals>.innerL   s    (((r   )r   r   r   	functoolswraps)frX   rW   s     @r   r@   r@   I   s5    L!**5H__Q) ) Lr   c                 T    | t         vrt        d|        t        t        d|        S )NzUnknown attribute zhypothesis.strategies.)_STRATEGIESAttributeErrorr   r   )names    r   __getattr__r`   S   s2    ;1$899(>tf&EFFr   c                      t         S rT   )__all__r'   r   r   __dir__rc   Z   s    Nr   )rY   _helpersr   r   r   r]   sortedrb   r@   r`   rc   r'   r   r   <module>rf      s;     -)9 )&+Z 
Gr   