Ë
    ÷Q(hh  ã                   óv   — d Z ddlZddlZddlmZ ddlmZ ej                  j                  ed¬«      d„ «       Z	y)z<Tests for making sure experimental imports work as expected.é    N)Ú'assert_run_python_script_without_output)Ú_IS_WASMzcannot start subprocess)Úreasonc                  óâ   — d} d}t        t        j                  |«      | ¬«       d}t        t        j                  |«      | ¬«       d| ›d| ›d�}t        t        j                  |«      | ¬«       y )Nz,Halving(Grid|Random)SearchCV is experimentalz½
    from sklearn.experimental import enable_halving_search_cv
    from sklearn.model_selection import HalvingGridSearchCV
    from sklearn.model_selection import HalvingRandomSearchCV
    )Úpatternzà
    import sklearn.model_selection
    from sklearn.experimental import enable_halving_search_cv
    from sklearn.model_selection import HalvingGridSearchCV
    from sklearn.model_selection import HalvingRandomSearchCV
    z>
    import pytest

    with pytest.raises(ImportError, match=zŽ):
        from sklearn.model_selection import HalvingGridSearchCV

    import sklearn.experimental
    with pytest.raises(ImportError, match=zI):
        from sklearn.model_selection import HalvingRandomSearchCV
    )r   ÚtextwrapÚdedent)r   Úgood_importÚ&good_import_with_model_selection_firstÚbad_importss       úw/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/sklearn/experimental/tests/test_enable_successive_halving.pyÚtest_imports_strategiesr      s‡   € ð =€Gð€Kô
 ,Ü�‰˜Ó$¨gõð.Ð*ô ,Ü�‰Ð>Ó?Øõð
+ð ,3¨+ð 6+ð ,3¨+ð 6ð	€Kô ,Ü�‰˜Ó$Øöó    )
Ú__doc__r   ÚpytestÚsklearn.utils._testingr   Úsklearn.utils.fixesr   ÚmarkÚxfailr   © r   r   ú<module>r      s=   ðÙ Bã ã å JÝ (ð ‡�×Ñ�8Ð$=ÐÓ>ñ)ó ?ñ)r   