Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
scikit-learn / tests / test_check_build.py
Size: Mime:
"""
Smoke Test the check_build module
"""

# Author: G Varoquaux
# License: 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())