o
    e
                     @   st  d Z ddlZddlZddlZddlZddlZg dZzejd dkr'ddl	Z	nddl
m	Z	 e ZdZW n eyA   dZdZ	Y nw dZdZdZdZdZd	ejv rpzdd
lmZ e ZdZdZdZW n eyo   ed Y nw erejejeddZejedZeeZejedZ ee Zej!j"e ddZ#ej!j"eddZ$ej!j"eddZ%ej!j"e ddZ&dS )zcommon test-related code.    N)	uses_matlabuses_futuresuses_pymatbridgeuses_precomputedmatlab_result_dict_cwtmatlab_result_dict_dwtfuturesmax_workerssize_set   )r   TFZreducedZ
PYWT_XSLOW)MatlabfullzTo run Matlab compatibility tests you need to have MathWorks MATLAB, MathWorks Wavelet Toolbox and the pymatbridge Python package installed.testsdatazcwt_matlabR2015b_result.npzzdwt_matlabR2012a_result.npzzfutures not available)reasonz'pymatbridge and/or Matlab not availablezAPYWT_XSLOW set: skipping tests against precomputed Matlab resultsz9PYWT_XSLOW not set: test against precomputed matlab tests)'__doc__ossysmultiprocessingnumpynpZpytest__all__version_infor   
concurrent	cpu_countr	   Zfutures_availableImportErrorr   r   Zmatlab_missingZuse_precomputedr
   environZpymatbridger   Zmlabprintpathjoindirname__file__data_dirZmatlab_data_file_cwtloadZmatlab_data_file_dwtmarkZskipifr   r   r   r    r%   r%   <D:\Projects\ConvertPro\env\Lib\site-packages\pywt/_pytest.py<module>   sp    




