Skip to content

Commit

Permalink
Flush prints when running examples
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi committed Nov 25, 2024
1 parent a00a4f6 commit fa109e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/run_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit fa109e2

Please sign in to comment.