Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

aaronreidsmith / scikit-learn   python

Repository URL to install this package:

Version: 0.22 

/ tests / test_check_build.py

"""
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())