From 3403b6d91a3762edf32c622c95569978d4848549 Mon Sep 17 00:00:00 2001 From: Wagner Lacerda Date: Fri, 16 Oct 2026 08:49:36 -0300 Subject: [PATCH] fix(tests): wrap long run_backtest call to satisfy E501 --- tests/test_backtest.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_backtest.py b/tests/test_backtest.py index 85afa20..bfbf6d0 100644 --- a/tests/test_backtest.py +++ b/tests/test_backtest.py @@ -74,7 +74,11 @@ def test_history_records_one_point_per_trade_actually_played(): def test_the_strategy_name_is_carried_into_the_result(): result = run_backtest( - FixedStakeStrategy(), outcomes=[True], starting_bankroll=1000, base_unit=10, payout_ratio=0.8 + FixedStakeStrategy(), + outcomes=[True], + starting_bankroll=1000, + base_unit=10, + payout_ratio=0.8, ) assert result.strategy_name == "fixed"