From ad958a90f839b8852abd7ea9b296db9197fb11e2 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 6 Nov 2024 15:10:32 +0000 Subject: [PATCH] GitHub Action: Apply Pep8-formatting --- test/spack_commands.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/spack_commands.py b/test/spack_commands.py index b1ea7a5560..74d0596bd1 100644 --- a/test/spack_commands.py +++ b/test/spack_commands.py @@ -53,10 +53,8 @@ def run_with_spack(command: str, log: Path) -> None: del env['VIRTUAL_ENV'] if 'PATH' in env: # Filter out any paths related to the virtual environment - env['PATH'] = ':'.join( - p for p in env['PATH'].split(':') - if 'venv' not in p - ) + env['PATH'] = ':'.join(p for p in env['PATH'].split(':') + if 'venv' not in p) # Direct stream to avoid buffering. # '2>&1' redirects stderr to stdout. ret = subprocess.run(