a
    xdR                     @   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
   K/var/www/html/Ranjet/env/lib/python3.9/site-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 r   )inspectiscoroutinefunctionobjr   )Z
pyfuncitemr
   r
   r   pytest_pyfunc_call&   s    r   )Zpytestr   Ztestingr   r   r   r   r   Zfixturer   r   Zhookimplr   r
   r
   r
   r   <module>   s   


