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.
2 parents 26c8815 + 5ed2e2c commit a9fb63cCopy full SHA for a9fb63c
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 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