B
    d#                 @   s4   d dl Z d dlZe dd Zdd Zdd ZdS )    Nc          	   c   s&   t | d d}|V  W d Q R X d S )Nztest.h5w)h5pyFile)Ztmp_pathf r   E/var/www/html/venv/lib/python3.7/site-packages/h5py/tests/conftest.pywritable_file   s    r   c             C   s   | j ddddd d S )Nz--no-network
store_trueFzNo network access)actiondefaulthelp)Z	addoption)parserr   r   r   pytest_addoption   s    r   c             C   s>   |  dr:tjjdd}x |D ]}d|jkr|| qW d S )Nz--no-networkzNo Internet)reasonZ	nonetwork)Z	getoptionpytestmarkskipkeywordsZ
add_marker)configitemsZnonetitemr   r   r   pytest_collection_modifyitems   s
    


r   )r   r   Zfixturer   r   r   r   r   r   r   <module>   s   