
    i                     "    S SK Jr  S\S\4S jrg)    )
MethodTypefreturnc                 p    [        U [        5      (       a  [        U R                  5      $ [	        U SS5      $ )a  
Returns ``True`` if ``f`` represents a test function that has been defined
with Hypothesis. This is true for:

* Functions decorated with |@given|
* The ``runTest`` method of stateful tests

For example:

.. code-block:: python

    @given(st.integers())
    def f(n): ...

    class MyStateMachine(RuleBasedStateMachine): ...

    assert is_hypothesis_test(f)
    assert is_hypothesis_test(MyStateMachine.TestCase().runTest)

.. seealso::

    See also the :doc:`Detect Hypothesis tests
    </how-to/detect-hypothesis-tests>` how-to.
is_hypothesis_testF)
isinstancer   r   __func__getattr)r   s    \/var/www/html/ai-image-ml/venv/lib/python3.13/site-packages/hypothesis/internal/detection.pyr   r      s0    2 !Z  !!**--1*E22    N)typesr   objectboolr    r   r   <module>r      s    3& 3T 3r   