
     e	                     4   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	 ej        d         dk    rddl	Z	nddl
m	Z	  ej                    ZdZn# e$ r dZdZ	Y nw xY wdZdZdZdZdZd	ej        v r.	 dd
lmZ  e            ZdZdZdZn# e$ r  ed           Y nw xY werej                            ej                            e          dd          Zej                            ed          Z ej        e          Zej                            ed          Z  ej        e           Zej!        "                    e d          Z#ej!        "                    ed          Z$ej!        "                    ed          Z%ej!        "                    e 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        ,lib/python3.11/site-packages/pywt/_pytest.py<module>r4      s     				 



         	 	 		
a&&&&&&+/+--K   GGG
   2:	$&&&&&&vxx $ $ $ # 	$ 	$ 	$ 	$ 	$$  	;w||BGOOH55wGGH7<</1 1$RW%9::7<</1 1$RW%9::{!!"9 " ; ;k  D ! F F;%%N & P P  ;%%F & H H   s#   -A
 
	AA-B BB