o
    7ήc	                     @   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   TFreduced
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nppytest__all__version_infor   
concurrent	cpu_countr	   futures_availableImportErrorr   r   matlab_missinguse_precomputedr
   environpymatbridger   mlabprintpathjoindirname__file__data_dirmatlab_data_file_cwtloadmatlab_data_file_dwtmarkskipifr   r   r   r    r0   r0   3/tmp/pip-target-vg8gfxp4/lib/python/pywt/_pytest.py<module>   sp    




