You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
300 B
16 lines
300 B
|
3 weeks ago
|
"""
|
||
|
|
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())
|