Skip to content

Commit af10707

Browse files
committed
Fixed test (flake8)
1 parent 0726a3e commit af10707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def _discover_environment(config):
414414
logger.warning('Cannot get git repository information.')
415415
try:
416416
env['has_slurm'] = shutil.which('sbatch') is not None
417-
if not 'has_slurm' in env:
417+
if 'has_slurm' not in env:
418418
env['has_pbs'] = shutil.which('qsub') is not None
419419
env['has_lsf'] = shutil.which('bsub') is not None
420420
env['has_cobalt'] = shutil.which('cqsub') is not None

0 commit comments

Comments
 (0)