Skip to content

Commit db7a3cf

Browse files
committed
BF: fix check for the sbatch (SLURM) not being available
Fixes #393 Extended fix could include testing if SLURM is actually usable ATM
1 parent 5330f55 commit db7a3cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heudiconv/tests/test_queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from .utils import TESTS_DATA_PATH
88
import pytest
99

10-
@pytest.mark.skipif(which("sbatch"), reason="skip a real slurm call")
10+
@pytest.mark.skipif(bool(which("sbatch")), reason="skip a real slurm call")
1111
@pytest.mark.parametrize(
1212
'invocation', [
1313
"--files %s/01-fmap_acq-3mm" % TESTS_DATA_PATH, # our new way with automated groupping

0 commit comments

Comments
 (0)