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.
1 parent 0726a3e commit af10707Copy full SHA for af10707
tests/conftest.py
@@ -414,7 +414,7 @@ def _discover_environment(config):
414
logger.warning('Cannot get git repository information.')
415
try:
416
env['has_slurm'] = shutil.which('sbatch') is not None
417
- if not 'has_slurm' in env:
+ if 'has_slurm' not in env:
418
env['has_pbs'] = shutil.which('qsub') is not None
419
env['has_lsf'] = shutil.which('bsub') is not None
420
env['has_cobalt'] = shutil.which('cqsub') is not None
0 commit comments