Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

test(windows): print the captured index error when a non-ASCII case fails

Martin Vogel79a0ba928e30
diff --git a/tests/windows/test_non_ascii_path.py b/tests/windows/test_non_ascii_path.py
index 75242c1f7..18c8dd761 100644
--- a/tests/windows/test_non_ascii_path.py
+++ b/tests/windows/test_non_ascii_path.py
@@ -332,6 +332,11 @@ def main():
got.get("definition_nodes"), base["nodes"], base["edges"],
base["definition_nodes"], got.get("name")))
if not ok:
+ # The counts alone cannot explain a venue-specific failure;
+ # surface the captured error verbatim so CI logs carry the
+ # diagnosis instead of swallowing it.
+ if got.get("error"):
+ print(" %s error: %s" % (key, got["error"]))
failures.append(key)
finally:
shutil.rmtree(work, ignore_errors=True)