We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
false
1 parent 66af485 commit 737ad61Copy full SHA for 737ad61
tests/conftest.py
@@ -420,7 +420,7 @@ def _discover_environment(config):
420
logger.warning('Cannot get git repository information.')
421
try:
422
env['has_slurm'] = shutil.which('sbatch') is not None
423
- if 'has_slurm' not in env:
+ if 'has_slurm' not in env or not env['has_slurm']:
424
env['has_pbs'] = shutil.which('qsub') is not None
425
env['has_lsf'] = shutil.which('bsub') is not None
426
env['has_cobalt'] = shutil.which('cqsub') is not None
0 commit comments