o
    US`cR                     @   sh   d dl Z d dlZddlmZmZ dadd Zdd Ze jd	d
 Z	e jdd Z
e jdddd ZdS )    N   )	trio_test	MockClockTc                 C   s   | j dddd d S )N
--run-slow
store_truezrun slow tests)actionhelp)Z	addoption)parser r
   >/usr/local/lib/python3.10/dist-packages/trio/tests/conftest.pypytest_addoption   s   r   c                 C   s   |  ddad S )Nr   T)Z	getoptionRUN_SLOW)configr
   r
   r   pytest_configure   s   r   c                   C   s   t  S Nr   r
   r
   r
   r   
mock_clock   s   r   c                   C   s
   t ddS )Nr   )Zautojump_thresholdr   r
   r
   r
   r   autojump_clock   s   
r   )Ztryfirstc                 C   s    t | jrt| j| _d S d S r   )inspectiscoroutinefunctionobjr   )Z
pyfuncitemr
   r
   r   pytest_pyfunc_call&   s   r   )Zpytestr   testingr   r   r   r   r   Zfixturer   r   Zhookimplr   r
   r
   r
   r   <module>   s   


