o
    i                     @   s<   d dl Z d dlZd dlZd dlmZ d dlmZ dd ZdS )    N)__version__)_openmp_parallelism_enabledc                  C   sH   t dr
td tdrdnd} td| }t	 s"J |d S )NZSKLEARN_SKIP_OPENMP_TESTz2test explicitly skipped (SKLEARN_SKIP_OPENMP_TEST)z.dev0devZstablea  
        This test fails because scikit-learn has been built without OpenMP.
        This is not recommended since some estimators will run in sequential
        mode instead of leveraging thread-based parallelism.

        You can find instructions to build scikit-learn with OpenMP at this
        address:

            https://scikit-learn.org/{}/developers/advanced_installation.html

        You can skip this test by setting the environment variable
        SKLEARN_SKIP_OPENMP_TEST to any value.
        )
osgetenvpytestskipr   endswithtextwrapdedentformatr   )base_urlerr_msg r   g/var/www/html/eduruby.in/lip-sync/lip-sync-env/lib/python3.10/site-packages/sklearn/tests/test_build.pytest_openmp_parallelism_enabled
   s   

r   )r   r
   r   Zsklearnr   Zsklearn.utils._openmp_helpersr   r   r   r   r   r   <module>   s    