From fa109e24507ccafc71d5ad1cc239fef74ea8e957 Mon Sep 17 00:00:00 2001 From: PProfizi Date: Mon, 25 Nov 2024 16:55:14 +0100 Subject: [PATCH] Flush prints when running examples --- .ci/run_examples.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/run_examples.py b/.ci/run_examples.py index 58d4881df1..5a3da2b7bd 100644 --- a/.ci/run_examples.py +++ b/.ci/run_examples.py @@ -33,13 +33,13 @@ print(file) minimum_version_str = get_example_required_minimum_dpf_version(file) if float(server_version) - float(minimum_version_str) < -0.05: - print(f"Example skipped as it requires DPF {minimum_version_str}.") + print(f"Example skipped as it requires DPF {minimum_version_str}.", flush=True) continue try: out = subprocess.check_output([sys.executable, file]) except subprocess.CalledProcessError as e: sys.stderr.write(str(e.args)) if e.returncode != 3221225477: - print(out) + print(out, flush=True) raise e - print("PASS") + print("PASS", flush=True)