tests: skip the one detector call in the baked-parameter suite

The other two tests in the file run plain backtests on daily data and
still measure the leak on a Community wheel; only the detect_lookahead
call is Pro-gated, so the guard is per-test.
This commit is contained in:
github-actions[bot]
2026-08-25 19:13:47 +02:00
parent f27e3efbb8
commit 4f921d4a5c
@@ -116,6 +116,13 @@ def test_a_parameter_baked_at_research_time_flatters_the_result(tmp_path):
)
# The one test here that needs the DETECTOR, which is Pro-gated. The other
# two run plain backtests on daily data and measure the same leak without
# it, which is exactly what a Community wheel can still verify.
@pytest.mark.skipif(
bt.license_info()[0] != "Pro",
reason="requires Pro: the look-ahead detector is gated",
)
def test_re_running_alone_returns_a_clean_verdict(tmp_path):
"""A clean verdict here is the correct answer for what re-running measures.