laywerrobot/lib/python3.6/site-packages/sklearn/tests/test_check_build.py

15 lines
288 B
Python
Raw Normal View History

2020-08-27 21:55:39 +02:00
"""
Smoke Test the check_build module
"""
# Author: G Varoquaux
# License: BSD 3 clause
from sklearn.__check_build import raise_build_error
from sklearn.utils.testing import assert_raises
def test_raise_build_error():
assert_raises(ImportError, raise_build_error, ImportError())