From a004daddde6dae3feb3b6351e2b3405dc29cb6db Mon Sep 17 00:00:00 2001 From: Hans Fangohr <hans.fangohr@mpsd.mpg.de> Date: Tue, 30 May 2023 22:15:38 +0200 Subject: [PATCH] fix style --- tests.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests.py b/tests.py index c16d60b..6857a32 100644 --- a/tests.py +++ b/tests.py @@ -98,12 +98,11 @@ def test_prepare_environment(tmp_path): # check if the git branch is correctly checked out. We expect output such as # git_branch_stdout = '* dev-23a\n develop\n' # The entry with the '* ' prefix is the active branch. - git_branch_output_raw = \ - subprocess.run( - f"cd {str(release_base_dir/spack_environments)} && git branch", - shell=True, - capture_output=True, - ) + git_branch_output_raw = subprocess.run( + f"cd {str(release_base_dir/spack_environments)} && git branch", + shell=True, + capture_output=True, + ) git_branch_stdout = git_branch_output_raw.stdout.decode("utf-8") assert f"* {mpsd_release_to_test}" in git_branch_stdout -- GitLab