diff --git a/tests/test_readme.py b/tests/test_readme.py index 6c9aab490b..0ed5eb7e9a 100644 --- a/tests/test_readme.py +++ b/tests/test_readme.py @@ -183,6 +183,8 @@ def test_serve(): def run_server(): nonlocal process + + stdout, stderr = "" try: print (f"Running command {run_command}") process = subprocess.Popen(run_command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True) @@ -195,6 +197,9 @@ def run_server(): except Exception as e: print (e) raise e + finally: + print (f"stdout : {stdout}") + print(f"stderr : {stderr}") server_thread = threading.Thread(target=run_server) server_thread.start()