Skip to content

Commit

Permalink
Fixed test (flake8)
Browse files Browse the repository at this point in the history
  • Loading branch information
hategan committed Jan 15, 2024
1 parent 0726a3e commit af10707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def _discover_environment(config):
logger.warning('Cannot get git repository information.')
try:
env['has_slurm'] = shutil.which('sbatch') is not None
if not 'has_slurm' in env:
if 'has_slurm' not in env:
env['has_pbs'] = shutil.which('qsub') is not None
env['has_lsf'] = shutil.which('bsub') is not None
env['has_cobalt'] = shutil.which('cqsub') is not None
Expand Down

0 comments on commit af10707

Please sign in to comment.