From 5bfe7cbadfb4413638c969c090b3e1e29c25116f Mon Sep 17 00:00:00 2001 From: mathiasg Date: Mon, 17 Aug 2020 23:20:39 -0400 Subject: [PATCH] FIX: skip test if using datalad --- templateflow/tests/test_conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templateflow/tests/test_conf.py b/templateflow/tests/test_conf.py index 0c537943..031e1966 100644 --- a/templateflow/tests/test_conf.py +++ b/templateflow/tests/test_conf.py @@ -1,7 +1,9 @@ from pathlib import Path +import pytest from .. import conf, api +@pytest.skipif(conf.TF_USE_DATALAD, reason="S3 only") def test_update_s3(tmp_path): conf.TF_HOME = tmp_path / 'templateflow' conf.TF_HOME.mkdir(exist_ok=True)