
    bMh                     P   d Z ddlZddlZddlZddlZddlZddlZg dZ	 ddl	m
Z
  ej                    ZdZn# e$ r	 dZdZ
dZY nw xY wej        dk    p ej                    d	v Z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 p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   
emscripten)wasm32wasm64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.npzz6futures is not available, or running via Pyodide/WASM.)reasonz'pymatbridge and/or Matlab not availablezAPYWT_XSLOW set: skipping tests against precomputed Matlab resultsz9PYWT_XSLOW not set: test against precomputed matlab tests))__doc__multiprocessingosplatformsysnumpynppytest__all__
concurrentr	   	cpu_countr
   futures_availableImportErrormachineIS_WASMr   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        L/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/pywt/_pytest.py<module>r9      s         				  



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