Skip to content

"Vibe-Trading: Your Personal Trading Agent"

test(backtest): declare optional Parquet engine prerequisite

Rudy Celekli66a1494d55e9
diff --git a/agent/tests/test_local_loader_source_revision.py b/agent/tests/test_local_loader_source_revision.py
index 816f122d1..a8eb718e3 100644
--- a/agent/tests/test_local_loader_source_revision.py
+++ b/agent/tests/test_local_loader_source_revision.py
@@ -33,6 +33,8 @@ def _write(path: Path, kind: str, close: int) -> None:
def _loader(tmp_path: Path, monkeypatch: pytest.MonkeyPatch, kind: str):
+ if kind == "parquet":
+ pytest.importorskip("pyarrow", reason="local Parquet reads require an optional pandas engine")
path = tmp_path / ("bars." + kind)
entry = {"symbol": "AAA.US", "type": kind}
if kind == "duckdb":