
    ,h-                        d dl mZ d dlZd dlmZ d dlZddlmZmZ da	da
ddZdd	Zej                  dd
       Zej                  dd       Z ej                   d      dd       ZddZy)    )annotationsN)NoReturn   )	MockClock	trio_testTFc                T    | j                  ddd       | j                  ddd       y )N
--run-slow
store_truezrun slow tests)actionhelp--skip-optional-importsz=skip tests that rely on libraries not required by trio itself)	addoption)parsers    [/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/trio/_tests/pytest_plugin.pypytest_addoptionr      s4    
\,=MN
!L      c                P    | j                  dd      a| j                  dd      ay )Nr	   T)defaultr   F)	getoptionRUN_SLOWSKIP_OPTIONAL_IMPORTS)configs    r   pytest_configurer      s/    d;H",,-FPU,Vr   c                     t               S Nr    r   r   
mock_clockr      s
    ;r   c                     t        d      S )Nr   )autojump_thresholdr   r   r   r   autojump_clockr!   #   s    **r   )tryfirstc                x    t        j                  | j                        rt        | j                        | _        y y r   )inspectiscoroutinefunctionobjr   )
pyfuncitems    r   pytest_pyfunc_callr(   ,   s)    "":>>2":>>2
 3r   c                V    t         r"t        j                  | j                  d       y | )NT)allow_module_level)r   pytestskipmsg)errors    r   skip_if_optional_else_raiser/   2   s    EII$7r   )r   zpytest.ParserreturnNone)r   zpytest.Configr0   r1   )r0   r   )r'   zpytest.Functionr0   r1   )r.   ImportErrorr0   r   )
__future__r   r$   typingr   r+   testingr   r   r   r   r   r   fixturer   r!   hookimplr(   r/   r   r   r   <module>r8      s~    "    * W   + + $3  3
r   