Files
zenml/venv/lib/python3.9/site-packages/sklearn/tests/test_check_build.py
Christian Mantha 2ca0b9ef7c star
2026-03-02 19:10:52 -05:00

16 lines
300 B
Python

"""
Smoke Test the check_build module
"""
# Authors: The scikit-learn developers
# SPDX-License-Identifier: BSD-3-Clause
import pytest
from sklearn.__check_build import raise_build_error
def test_raise_build_error():
with pytest.raises(ImportError):
raise_build_error(ImportError())