diff --git a/nibabel/tests/test_data.py b/nibabel/tests/test_data.py index 22ebbc9d9..511fa7f85 100644 --- a/nibabel/tests/test_data.py +++ b/nibabel/tests/test_data.py @@ -23,11 +23,11 @@ get_data_path, make_datasource, ) -from .test_environment import DATA_KEY, USER_KEY +from .test_environment import DATA_KEY, USER_KEY, with_environment # noqa: F401 @pytest.fixture -def with_nimd_env(request, with_environment): +def with_nimd_env(request, with_environment): # noqa: F811 DATA_FUNCS = {} DATA_FUNCS['home_dir_func'] = nibd.get_nipy_user_dir DATA_FUNCS['sys_dir_func'] = nibd.get_nipy_system_dir