fixup! Separate the various parts of the error report with newlines

This commit is contained in:
Benjamin Schubert 2023-12-03 14:24:15 +00:00
parent ed9e5ee6bb
commit 69e91bca87
3 changed files with 3 additions and 2 deletions

View File

@ -1 +0,0 @@
Improved the error reporting to better separate each section

View File

@ -1 +1,3 @@
Improved very verbose diff output to color it as a diff instead of only red.
Improved the error reporting to better separate each section.

View File

@ -295,7 +295,7 @@ class TestApprox:
rf" Max relative difference: {SOME_FLOAT}",
r" Index \| Obtained\s+\| Expected",
rf" \(0,\)\s+\| {SOME_FLOAT} \| {SOME_FLOAT} ± {SOME_FLOAT}",
rf" \(1,\)\s+\| {SOME_FLOAT} \| {SOME_FLOAT} ± {SOME_FLOAT}",
rf" \(1,\)\s+\| {SOME_FLOAT} \| {SOME_FLOAT} ± {SOME_FLOAT}...",
"",
rf"\s*...Full output truncated \({SOME_INT} lines hidden\), use '-vv' to show",
],