diff --git a/tests/test_empty_output/test_empty_output.py b/tests/test_empty_output/test_empty_output.py index 9299868e..adacbde2 100644 --- a/tests/test_empty_output/test_empty_output.py +++ b/tests/test_empty_output/test_empty_output.py @@ -7,8 +7,8 @@ def test_empty_output(): - output_verbose = subprocess.Popen( - [sys.executable, "-u", "test_script.py"], + output_verbose = subprocess.run( + [sys.executable, "-u", verbose_file], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True,