diff --git a/tests/exchange/test_exchange.py b/tests/exchange/test_exchange.py index 5772a1c4a..94428cbbf 100644 --- a/tests/exchange/test_exchange.py +++ b/tests/exchange/test_exchange.py @@ -1012,7 +1012,7 @@ def test_validate_required_startup_candles(default_conf, mocker, caplog): ex._ft_has["ohlcv_has_history"] = False with pytest.raises( OperationalException, - match=r"This strategy requires 2500.*, " r"which is more than the amount.*", + match=r"This strategy requires 2500.*, " r"which is more than .* the amount", ): ex.validate_required_startup_candles(2500, "5m")