§
    	¼¸jh  ã                   ó|   — d Z ddlZddlZddlmZ ddlmZ ej                             ed¬¦  «        d„ ¦   «         Z	dS )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        |¦  «        | ¬¦  «         d S )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       ú‰/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/sklearn/experimental/tests/test_enable_successive_halving.pyÚtest_imports_strategiesr      sÇ   € ð =€Gð€Kõ
 ,ÝŒ˜Ñ$Ô$¨gðñ ô ð ð.Ð*õ ,ÝŒÐ>Ñ?Ô?Øðñ ô ð ð
	ð ,3ð	ð 	ð ,3ð	ð 	ð 	€Kõ ,ÝŒ˜Ñ$Ô$Øðñ ô ð ð ð ó    )
Ú__doc__r   ÚpytestÚsklearn.utils._testingr   Úsklearn.utils.fixesr   ÚmarkÚxfailr   © r   r   ú<module>r      s}   ðØ BÐ Bà €€€à €€€à JÐ JÐ JÐ JÐ JÐ JØ (Ð (Ð (Ð (Ð (Ð (ð „×Ò�8Ð$=ÐÑ>Ô>ð)ð )ñ ?Ô>ð)ð )ð )r   