o
    xi                     @   s`   d dl Z zd dlZdZW n ey   dZY nw er.dd Ze jdddd Zd	d
 ZdS dS )    NTFc                 C   s   ddl m} |  dS )a  Handle the pytest collection finish hook: configure pyannotate.
        Explicitly delay importing `collect_types` until all tests have
        been collected.  This gives gevent a chance to monkey patch the
        world before importing pyannotate.
        r   collect_typesN)pyannotate_runtimer   init_types_collection)sessionr    r   W/home/ubuntu/.local/lib/python3.10/site-packages/wandb/vendor/promise-2.3.0/conftest.pypytest_collection_finish   s   r	   )autousec                  c   s(    ddl m}  |   d V  |   d S )Nr   r   )r   r   resumepauser   r   r   r   collect_types_fixture   s
   r   c                 C   s   ddl m} |d d S )Nr   r   ztype_info.json)r   r   
dump_stats)r   
exitstatusr   r   r   r   pytest_sessionfinish   s   r   )pytestr   PYANOTATE_PRESENTImportErrorr	   fixturer   r   r   r   r   r   <module>   s   
	
