o
    g’×ie  ã                   @   s6   d dl Z d dlZd dlmZ d dlmZ ddd„ZdS )é    N)Ú	find_spec)ÚcallÚ c                 C   s@   t dƒd u rtdƒ dS tjddddg}| t | ¡¡ t|ƒS )NÚpytestz*Tests require pytest, pytest not installedé   z-mz--pyargsÚh5py)r   ÚprintÚsysÚ
executableÚextendÚshlexÚsplitr   )ÚargsÚcli© r   úQ/home/ubuntu/SoloSpeech/.venv/lib/python3.10/site-packages/h5py/tests/__init__.pyÚ	run_tests   s   r   )r   )r	   r   Úimportlib.utilr   Ú
subprocessr   r   r   r   r   r   Ú<module>   s
   