From 14b89b243bdce8dc89af362154ea023cf52953b3 Mon Sep 17 00:00:00 2001 From: Henri Menke <henri@henrimenke.de> Date: Tue, 9 Jan 2024 18:54:00 +0100 Subject: [PATCH] Fix typo: stdin -> stderr --- tests/test_install.py | 4 ++-- tests/test_prepare.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_install.py b/tests/test_install.py index e0db75a..391bc11 100644 --- a/tests/test_install.py +++ b/tests/test_install.py @@ -67,7 +67,7 @@ def test_install_environment_zlib(create_mock_git_repository): # subprocess.run( # "cp -r foss2021a-mpi fuss1999a", # shell=True, - # stdin=subprocess.PIPE, + # stderr=subprocess.PIPE, # stdout=subprocess.PIPE, # ) # add zlib as a spec to global_generic @@ -93,7 +93,7 @@ def test_install_environment_zlib(create_mock_git_repository): subprocess.run( ["gcc -dumpfullversion"], shell=True, - stdin=subprocess.PIPE, + stderr=subprocess.PIPE, stdout=subprocess.PIPE, ) .stdout.decode("utf-8") diff --git a/tests/test_prepare.py b/tests/test_prepare.py index 297fcb5..40f9646 100644 --- a/tests/test_prepare.py +++ b/tests/test_prepare.py @@ -45,7 +45,7 @@ def test_prepare_environment(tmp_path, create_mock_git_repository): git_branch_output_raw = subprocess.run( f"cd {str(folders.repo_path)} && git branch", shell=True, - stdin=subprocess.PIPE, + stderr=subprocess.PIPE, stdout=subprocess.PIPE, ) git_branch_stdout = git_branch_output_raw.stdout.decode("utf-8") -- GitLab