diff --git a/tests/optimize/test_backtesting.py b/tests/optimize/test_backtesting.py index 368e368c5..326ad5cd0 100644 --- a/tests/optimize/test_backtesting.py +++ b/tests/optimize/test_backtesting.py @@ -434,7 +434,7 @@ def test_backtesting_no_pair_left(default_conf, mocker, caplog, testdatadir) -> default_conf['pairlists'] = [{"method": "VolumePairList", "number_assets": 5}] with pytest.raises(OperationalException, - match=r'VolumePairList not allowed for backtesting\..*StaticPairlist.*'): + match=r'VolumePairList not allowed for backtesting\..*StaticPairList.*'): Backtesting(default_conf) default_conf.update({