From 535f0455963bf47c1258a58fb8f260c124c388dd Mon Sep 17 00:00:00 2001 From: Antoine Anceau <252369389+antoineanceau@users.noreply.github.com> Date: Sat, 17 Jan 2026 22:48:07 +0100 Subject: [PATCH] Fix: correct newline character usage in test print statements. --- python/tests/test_bindings.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/python/tests/test_bindings.py b/python/tests/test_bindings.py index d688de1..aa20353 100644 --- a/python/tests/test_bindings.py +++ b/python/tests/test_bindings.py @@ -220,8 +220,7 @@ class TestDTMB5415: passed = 0 total = len(heels) - print(" -DTMB5415 GZ Validation:") + print("\nDTMB5415 GZ Validation:") print("Heel Calc GZ Ref GZ Error") print("-" * 45) @@ -236,8 +235,7 @@ DTMB5415 GZ Validation:") print(f"{heel:5.1f}° {gz:7.3f}m {ref_gz:7.3f}m {error:.3f}m {status}") pass_rate = passed / total - print(f" -Passed: {passed}/{total} ({pass_rate * 100:.0f}%)") + print(f"\nPassed: {passed}/{total} ({pass_rate * 100:.0f}%)") assert pass_rate >= 0.7, f"At least 70% should pass, got {pass_rate * 100:.0f}%"