Ë
    iKêj6  ã                   óT  — d dl mZ d dlmZ d dlmZmZmZ erd dlm	Z	 neZ	 G d„ de
«      Z G d„ de«      Z G d	„ d
e«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Zdeeef   deeef   defd„Z G d„ de«      Z G d„ de
«      Z G d„ d ee«      Z G d!„ d"e«      Z G d#„ d$ee«      Z G d%„ d&e«      Z G d'„ d(e«      Z G d)„ d*ee«      Z  G d+„ d,ee!«      Z" G d-„ d.e«      Z# G d/„ d0e"«      Z$ G d1„ d2e"e%«      Z& G d3„ d4e"«      Z' G d5„ d6e«      Z(d7edefd8„Z) G d9„ d:e«      Z* G d;„ d<e+«      Z, G d=„ d>e«      Z- G d?„ d@e«      Z. G dA„ dBe
«      Z/ G dC„ dDe"«      Z0 G dE„ dFe"«      Z1edG   Z2e2jf                  Z4 G dH„ dIe«      Z5yJ)Ké    )ÚMapping)Ú	timedelta)ÚTYPE_CHECKINGÚAnyÚLiteral)ÚChoiceConstraintsTc                   ó   — e Zd ZdZy)ÚHypothesisExceptionz9Generic parent class for exceptions thrown by Hypothesis.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    úV/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/hypothesis/errors.pyr
   r
      s   „ ÚCr   r
   c                   ó   — e Zd ZdZy)Ú
_TrimmablezGHypothesis can trim these tracebacks even if they're raised internally.Nr   r   r   r   r   r      s   „ ÚQr   r   c                   ó:   — e Zd ZdZ	 dddœdedz  dedz  ddfd„Zy)	ÚUnsatisfiedAssumptionzcAn internal error raised by assume.

    If you're seeing this error something has gone wrong.
    N)ÚlocationÚreasonr   Úreturnc                ó    — || _         || _        y ©N)r   r   )Úselfr   r   s      r   Ú__init__zUnsatisfiedAssumption.__init__#   s   € ð ˆŒà ˆ�r   r   )r   r   r   r   Ústrr   r   r   r   r   r      s9   „ ñð $(ð!ØCGò!Ø˜D‘jð!Ø69¸D±jð!à	ô!r   r   c                   ó2   ‡ — e Zd ZdZddededdfˆ fd„Zˆ xZS )ÚNoSuchExamplez«The condition we have been asked to satisfy appears to be always false.

    This does not guarantee that no example exists, only that we were
    unable to find one.
    Úcondition_stringÚextrar   Nc                 ó.   •— t         ‰| �  d|› |› �«       y )NzNo examples found of condition )Úsuperr   )r   r!   r"   Ú	__class__s      €r   r   zNoSuchExample.__init__2   s   ø€ Ü‰ÑÐ:Ð;KÐ:LÈUÈGÐTÕUr   )Ú )r   r   r   r   r   r   Ú__classcell__©r%   s   @r   r    r    +   s,   ø„ ññV¨ð V°Sð VÀ$÷ Vñ Vr   r    c                   ó   — e Zd ZdZy)ÚUnsatisfiablea•  We ran out of test cases before we could find enough which satisfy the
    assumptions of this hypothesis.

    This could be because the function is using |assume| in a way that is
    too hard to satisfy. If so, try writing a custom strategy or using a
    better starting point (e.g if you are requiring a list has unique
    values you could instead filter out all duplicate values from the list)
    Nr   r   r   r   r*   r*   6   ó   „ òr   r*   c                   ó   — e Zd ZdZy)ÚChoiceTooLargez.An internal error raised by choice_from_index.Nr   r   r   r   r-   r-   A   s   „ Ú8r   r-   c                   ó   — e Zd ZdZy)ÚCannotInvertz´
    Internal error raised by SearchStrategy._invert, either because the value
    is not produced by that strategy, or because we haven't implemented an
    inversion for it.
    Nr   r   r   r   r/   r/   E   s   „ òr   r/   c                   ó   — e Zd ZdZy)ÚFlakyzõ
    Base class for indeterministic failures. Usually one of the more
    specific subclasses (|FlakyFailure| or |FlakyStrategyDefinition|) is raised.

    .. seealso::

        See also the :doc:`flaky failures tutorial </tutorial/flaky>`.
    Nr   r   r   r   r1   r1   M   r+   r   r1   c                   ó$   ‡ — e Zd ZdZdˆ fd„	Zˆ xZS )ÚFlakyReplayzíInternal error raised by the conjecture engine if flaky failures are
    detected during replay.

    Carries information allowing the runner to reconstruct the flakiness as
    a FlakyFailure exception group for final presentation.
    c                 ó@   •— t         ‰| �  |«       || _        || _        y r   )r$   r   r   Ú_interesting_origins)r   r   Úinteresting_originsr%   s      €r   r   zFlakyReplay.__init__`   s   ø€ Ü‰Ñ˜Ô ØˆŒØ$7ˆÕ!r   r   )r   r   r   r   r   r'   r(   s   @r   r3   r3   X   s   ø„ ñ÷8ñ 8r   r3   ÚshowÚotherr   c                 óš   ‡— | j                  «       ‰j                  «       k(  sJ ‚dj                  ˆfd„| j                  «       D «       «      S )Nz, c              3   óX   •K  — | ]!  \  }}|› d |‰|   k(  rdn
t        |«      › �–— Œ# y­w)ú=z...N)Úrepr)Ú.0ÚkÚvr8   s      €r   ú	<genexpr>z&_render_constraints.<locals>.<genexpr>h   s6   øè ø€ ò Ù9=¸¸Aˆ1ˆ#ˆQ˜˜U 1™Xš‰u¬4°«7Ð3Ô4ñùs   ƒ'*)ÚkeysÚjoinÚitems)r7   r8   s    `r   Ú_render_constraintsrD   f   sA   ø€ Ø�9‰9‹;˜%Ÿ*™*›,Ò&Ð&Ð&Ø�9‰9ó ØAEÇÁÃôó ð r   c                   óT   — e Zd ZdZdZededd fd„«       Zedededed	edd f
d
„«       Z	y)ÚFlakyStrategyDefinitiona‘  
    This function appears to cause inconsistent data generation.

    Common causes for this problem are:
        1. The strategy depends on external state. e.g. it uses an external
           random number generator. Try to make a version that passes all the
           relevant state in from Hypothesis.

    .. seealso::

        See also the :doc:`flaky failures tutorial </tutorial/flaky>`.
    zŠInconsistent data generation! Data generation behaved differently between test cases. Is your data generation depending on external state?Údetailr   c                 ó0   —  | | j                   › d|› �«      S )Nz

)Ú_BASE_MESSAGE)ÚclsrG   s     r   Úwith_detailz#FlakyStrategyDefinition.with_detail�   s   € á�c×'Ñ'Ð(¨¨V¨HÐ5Ó6Ð6r   Úexpected_typeÚexpected_constraintsÚactual_typeÚactual_constraintsc           	      ó‚   — ||k7  r
d|› d|› d�}n d|› dt        ||«      › dt        ||«      › d�}| j                  |«      S )NzNThe second test case drew a different type of value than the first.
  first:  z
  second: ú
zThe second test case drew type z6 with different constraints than the first.
  first:  )rD   rK   )rJ   rL   rM   rN   rO   rG   s         r   Úfrom_mismatchz%FlakyStrategyDefinition.from_mismatch…   s}   € ð ˜-Ò'ðØ*˜Oð ,Ø(˜M¨ð-ñ ð 2°+°ð ?ä0Ð1EÐGYÓZÐ[ð \Ü0Ð1CÐEYÓZÐ[Ð[]ð_ð ð �‰˜vÓ&Ð&r   N)
r   r   r   r   rI   Úclassmethodr   rK   r   rR   r   r   r   rF   rF   m   sx   „ ñð	ð ð ð7 ð 7Ð)Bò 7ó ð7ð ð'àð'ð 1ð'ð ð	'ð
 /ð'ð 
#ò'ó ñ'r   rF   c                   ó   — e Zd ZdZy)Ú_WrappedBaseExceptionzJUsed internally for wrapping BaseExceptions as components of FlakyFailure.Nr   r   r   r   rU   rU   �   s   „ ÚTr   rU   c                   ó   — e Zd ZdZd„ Zd„ Zy)ÚFlakyFailurean  
    This function appears to fail non-deterministically: We have seen it
    fail when passed this value at least once, but a subsequent invocation
    did not fail, or caused a distinct error.

    Common causes for this problem are:
        1. The function depends on external state. e.g. it uses an external
           random number generator. Try to make a version that passes all the
           relevant state in from Hypothesis.
        2. The function is suffering from too much recursion and its failure
           depends sensitively on where it's been called from.
        3. The function is timing sensitive and can fail or pass depending on
           how long it takes. Try breaking it up into smaller functions which
           don't do that and testing those instead.

    .. seealso::

        See also the :doc:`flaky failures tutorial </tutorial/flaky>`.
    c                 óÈ   — t        |«      }t        |«      D ]3  \  }}t        |t        «      rŒt	        «       }|x|_        |_        |||<   Œ5 t        j                  | ||«      S r   )	ÚlistÚ	enumerateÚ
isinstanceÚ	ExceptionrU   Ú	__cause__Ú__context__ÚExceptionGroupÚ__new__)rJ   ÚmsgÚgroupÚiÚexcÚerrs         r   r`   zFlakyFailure.__new__¶   se   € ô
 �U“ˆÜ Ó&ò 	‰FˆAˆsÜ˜c¤9Õ-Ü+Ó-�Ø25Ð5�” ¤Ø��a’ð		ô
 ×%Ñ% c¨3°Ó6Ð6r   c                 ó:   —  t        | «      | j                  |«      S r   )ÚtypeÚmessage)r   Úexcss     r   ÚderivezFlakyFailure.deriveÆ   s   € ØŒt�D‹z˜$Ÿ,™,¨Ó-Ð-r   N)r   r   r   r   r`   rj   r   r   r   rW   rW   ¡   s   „ ñò(7ó .r   rW   c                   ó   — e Zd ZdZy)ÚFlakyBackendFailureak  
    A failure was reported by an |alternative backend|,
    but this failure did not reproduce when replayed under the Hypothesis backend.

    When an alternative backend reports a failure, Hypothesis first replays it
    under the standard Hypothesis backend to check for flakiness. If the failure
    does not reproduce, Hypothesis raises this exception.
    Nr   r   r   r   rl   rl   Ê   r+   r   rl   c                   ó   — e Zd ZdZy)ÚInvalidArgumentz_Used to indicate that the arguments to a Hypothesis function were in
    some manner incorrect.Nr   r   r   r   rn   rn   Õ   s   „ òr   rn   c                   ó   — e Zd ZdZy)ÚResolutionFaileda  Hypothesis had to resolve a type to a strategy, but this failed.

    Type inference is best-effort, so this only happens when an
    annotation exists but could not be resolved for a required argument
    to the target of ``builds()``, or where the user passed ``...``.
    Nr   r   r   r   rp   rp   Ú   ó   „ òr   rp   c                   ó   — e Zd ZdZy)ÚInvalidStatez?The system is not in a state where you were allowed to do that.Nr   r   r   r   rs   rs   ã   s   „ ÚIr   rs   c                   ó   — e Zd ZdZy)ÚInvalidDefinitionzgUsed to indicate that a class definition was not well put together and
    has something wrong with it.Nr   r   r   r   ru   ru   ç   s   „ ò$r   ru   c                   ó   — e Zd ZdZy)ÚHypothesisWarningz'A generic warning issued by Hypothesis.Nr   r   r   r   rw   rw   ì   s   „ Ú1r   rw   c                   ó   — e Zd ZdZy)ÚFailedHealthCheckz;Raised when a test fails a health check. See |HealthCheck|.Nr   r   r   r   ry   ry   ð   s   „ ÚEr   ry   c                   ó   — e Zd ZdZy)ÚNonInteractiveExampleWarningz²
    Emitted when |.example| is used outside of interactive use.

    |.example| is intended for exploratory and interactive work, not to be run as
    part of a test suite.
    Nr   r   r   r   r{   r{   ô   rq   r   r{   c                   ó   — e Zd ZdZy)ÚHypothesisDeprecationWarningaz  A deprecation warning issued by Hypothesis.

    Actually inherits from FutureWarning, because DeprecationWarning is
    hidden by the default warnings filter.

    You can configure the :mod:`python:warnings` module to handle these
    warnings differently to others, either turning them into errors or
    suppressing them entirely.  Obviously we would prefer the former!
    Nr   r   r   r   r}   r}   ý   s   „ òr   r}   c                   ó   — e Zd ZdZy)ÚHypothesisSideeffectWarningz¯A warning issued by Hypothesis when it sees actions that are
    discouraged at import or initialization time because they are
    slow or have user-visible side effects.
    Nr   r   r   r   r   r   	  s   „ òr   r   c                   ó   — e Zd ZdZy)ÚFrozenzlRaised when a mutation method has been called on a ConjectureData object
    after freeze() has been called.Nr   r   r   r   r�   r�     s   „ ò'r   r�   Únamec                 óX   — | dk(  rddl m}  |dddd¬«       t        S t        d	| › �«      ‚)
NÚMultipleFailuresr   )Únote_deprecationzQMultipleFailures is deprecated; use the builtin `BaseExceptionGroup` type insteadz
2022-08-02Fé   )ÚsinceÚhas_codemodÚ
stacklevelz,Module 'hypothesis.errors' has no attribute )Úhypothesis.utils.deprecationr…   ÚBaseExceptionGroupÚAttributeError)r‚   r…   s     r   Ú__getattr__r�     s=   € ØÐ!Ò!ÝAáØ_ØØØõ		
ô "Ð!ä
ÐGÈÀvÐNÓ
OÐOr   c                   óV   ‡ — e Zd ZdZdededdfˆ fd„Zdeed    eeef   f   fd„Zˆ xZ	S )ÚDeadlineExceededzf
    Raised when an input takes too long to run, relative to the |settings.deadline|
    setting.
    ÚruntimeÚdeadliner   Nc                 ó–   •— t         ‰| �  d|j                  «       dz  d›d|j                  «       dz  d›d�«       || _        || _        y )Nz
Test took iè  z.2fz"ms, which exceeds the deadline of z™ms. If you expect test cases to take this long, you can use @settings(deadline=...) to either set a higher deadline, or to disable it with deadline=None.)r$   r   Útotal_secondsr�   r‘   )r   r�   r‘   r%   s      €r   r   zDeadlineExceeded.__init__*  s`   ø€ Ü‰ÑØ˜×.Ñ.Ó0°4Ñ7¸Ð<ð =Ø'×5Ñ5Ó7¸$Ñ>¸sÐCð DTðTô	
ð ˆŒØ ˆ�r   c                 óH   — t        | «      | j                  | j                  ffS r   )rg   r�   r‘   )r   s    r   Ú
__reduce__zDeadlineExceeded.__reduce__4  s    € ô �T“
˜TŸ\™\¨4¯=©=Ð9Ð:Ð:r   )
r   r   r   r   r   r   Útuplerg   r•   r'   r(   s   @r   r�   r�   $  sI   ø„ ñð
! 	ð !°Yð !À4õ !ð;à	ˆtÐ&Ñ'¨¨y¸)Ð/CÑ)DÐDÑ	E÷;r   r�   c                   ó,   ‡ — e Zd ZdZdeddfˆ fd„Zˆ xZS )ÚStopTestz�Raised when a test should stop running and return control to
    the Hypothesis engine, which should then continue normally.
    Útestcounterr   Nc                 óD   •— t         ‰| �  t        |«      «       || _        y r   )r$   r   r<   r™   )r   r™   r%   s     €r   r   zStopTest.__init__?  s   ø€ Ü‰Ñœ˜kÓ*Ô+Ø&ˆÕr   )r   r   r   r   Úintr   r'   r(   s   @r   r˜   r˜   :  s    ø„ ñð' Cð '¨D÷ 'ñ 'r   r˜   c                   ó   — e Zd Zy)ÚDidNotReproduceN)r   r   r   r   r   r   r�   r�   D  s   „ Ør   r�   c                   ó   — e Zd ZdZy)ÚFoundz=Signal that the example matches condition. Internal use only.Nr   r   r   r   rŸ   rŸ   H  s   „ ÚGr   rŸ   c                   ó    — e Zd ZdZdeddfd„Zy)ÚRewindRecursivez[Signal that the type inference should be rewound due to recursive types. Internal use only.Útargetr   Nc                 ó   — || _         y r   )r¢   )r   r¢   s     r   r   zRewindRecursive.__init__O  s	   € Øˆ�r   )r   r   r   r   Úobjectr   r   r   r   r¡   r¡   L  s   „ Ùeð˜vð ¨$ô r   r¡   c                   ó   — e Zd ZdZy)ÚSmallSearchSpaceWarningz‹Indicates that an inferred strategy does not span the search space
    in a meaningful way, for example by only creating default instances.Nr   r   r   r   r¦   r¦   S  s   „ òLr   r¦   c                   ó   — e Zd ZdZy)Ú"NonRoundTrippableCharactersWarninga8  Issued when the ``codec`` argument to
    :func:`~hypothesis.strategies.characters` allows generating characters
    which encode successfully, but do not decode back to the same character.

    Pass each such character in either ``include_characters`` or
    ``exclude_characters`` to silence this warning.
    Nr   r   r   r   r¨   r¨   X  s   „ òr   r¨   )ÚverifiedÚ	exhaustedÚdiscard_test_caser8   c                   ó"   — e Zd ZdZddeddfd„Zy)ÚBackendCannotProceedaç  
    Raised by alternative backends when a |PrimitiveProvider| cannot proceed.
    This is expected to occur inside one of the ``.draw_*()`` methods, or for
    symbolic execution perhaps in |PrimitiveProvider.realize|.

    The optional ``scope`` argument can enable smarter integration:

        verified:
            Do not request further |test cases| from this backend.  We *may*
            generate more test cases with other backends; if one fails then
            Hypothesis will report unsound verification in the backend too.

        exhausted:
            Do not request further test cases from this backend; finish testing
            with test cases generated with the default backend.  Common if e.g.
            native code blocks symbolic reasoning very early.

        discard_test_case:
            This particular test case could not be converted to concrete values;
            skip any further processing and continue with another test case from
            this backend.
    Úscoper   Nc                óL   — |t         vrt        d|› dt         ›�«      ‚|| _        y )Nz
Got scope=z, but expected one of )Ú_valid_cannot_proceed_scopesrn   r®   )r   r®   s     r   r   zBackendCannotProceed.__init__~  s6   € ØÔ4Ñ4Ü!Ø˜U˜GÐ#9Ü/Ð2ð4óð ð ˆ�
r   )r8   )r   r   r   r   ÚCannotProceedScopeTr   r   r   r   r­   r­   f  s   „ ññ.Ð1ð À4ô r   r­   N)6Úcollections.abcr   Údatetimer   Útypingr   r   r   Ú%hypothesis.internal.conjecture.choicer   r\   r
   r   r   r    r*   r-   r/   r1   r3   r   r¤   rD   rF   rU   r_   rW   rl   Ú	TypeErrorrn   rp   rs   ru   ÚWarningrw   ry   r{   ÚFutureWarningr}   r   r�   r�   r�   ÚBaseExceptionr˜   r�   rŸ   r¡   r¦   r¨   r±   Ú__args__r°   r­   r   r   r   ú<module>r»      s  ðõ $Ý ß .Ñ .áÞHà ÐôD˜)ô DôRÐ$ô Rô!Ð/ô !ôVÐ'ô Vô�Jô ô9Ð(ô 9ôÐ&ô ôˆJô ô8�%ô 8ð˜g c¨6 kÑ2ð ¸7À3ÈÀ;Ñ;Oð ÐTWó ô-'˜eô -'ô`U˜Iô Uô&.�> 5ô &.ôR˜,ô ô�j )ô ô
�ô ôJÐ&ô Jô$˜
 Iô $ô
2Ð+¨Wô 2ôF˜
ô FôÐ#4ô ô	Ð#4°mô 	ôÐ"3ô ô'Ð ô 'ð
P�cð P˜có Pô;�zô ;ô,'ˆ}ô 'ô	Ð)ô 	ôHÐô Hô�iô ôLÐ/ô Lô
Ð):ô ð ÐSÑTÐ Ø2×;Ñ;Ð ôÐ.õ r   