HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Lib/site-packages/joblib/test/test_init.py
# Basic test case to test functioning of module's top-level

try:
    from joblib import *  # noqa
    _top_import_error = None
except Exception as ex:  # pragma: no cover
    _top_import_error = ex


def test_import_joblib():
    # Test either above import has failed for some reason
    # "import *" only allowed at module level, hence we
    # rely on setting up the variable above
    assert _top_import_error is None