§
    €zIfc  ã                   ó(   — d Z ddlZddlZddlZd„ ZdS )z�
Pyodide and other single-threaded Python builds will be missing the
_multiprocessing module. Test that joblib still works in this environment.
é    Nc                 ó  — | dz                        d¦  «         t          t          j        ¦  «        }d                     t          | ¦  «        gt          j        z   ¦  «        |d<   t          j	        t          j
        ddg|¬¦  «         dS )	ad  
    Test that import joblib works even if _multiprocessing is missing.

    pytest has already imported everything from joblib. The most reasonable way
    to test importing joblib with modified environment is to invoke a separate
    Python process. This also ensures that we don't break other tests by
    importing a bad `_multiprocessing` module.
    z_multiprocessing.pyz0raise ImportError("No _multiprocessing module!")ú:Ú
PYTHONPATHz-czbimport joblib, math; joblib.Parallel(n_jobs=1)(joblib.delayed(math.sqrt)(i**2) for i in range(10)))ÚenvN)Ú
write_textÚdictÚosÚenvironÚjoinÚstrÚsysÚpathÚ
subprocessÚ
check_callÚ
executable)Útmp_pathr   s     ú\/var/www/piapp/venv/lib/python3.11/site-packages/joblib/test/test_missing_multiprocessing.pyÚtest_missing_multiprocessingr      s—   € ð Ð%Ñ%×1Ò1Ø:ñô ð õ �rŒzÑ
Ô
€Cð Ÿš¥# h¡-¤- µ3´8Ñ!;Ñ<Ô<€CˆÑÝÔÝ	Œ˜ð
?ð	ð ðñ ô ð ð ð ó    )Ú__doc__r	   r   r   r   © r   r   ú<module>r      sH   ððð ð
 
€	€	€	Ø Ð Ð Ð Ø 
€
€
€
ðð ð ð ð r   