From 5f89708be45b060e9844c5c2ad4f39694ebfaf43 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 16 Jan 2025 19:47:12 +0100 Subject: [PATCH] test: fix long_short switch test --- tests/optimize/test_backtesting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/optimize/test_backtesting.py b/tests/optimize/test_backtesting.py index b34e533e4..2f34b8ca8 100644 --- a/tests/optimize/test_backtesting.py +++ b/tests/optimize/test_backtesting.py @@ -1901,7 +1901,7 @@ def test_backtest_multi_pair_long_short_switch( if use_detail: # Backtest loop is called once per candle per pair - assert bl_spy.call_count == 1484 + assert bl_spy.call_count == 1482 else: assert bl_spy.call_count == 479