Trimming the sentence

This commit is contained in:
Stefano Ariestasia
2021-11-25 17:04:04 +09:00
parent c23d90e2b8
commit 5307d2bf3b
2 changed files with 3 additions and 3 deletions

View File

@@ -439,7 +439,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='VolumePairList not allowed for backtesting. Please use StaticPairlist.'):
match='VolumePairList not allowed for backtesting. Use StaticPairlist.'):
Backtesting(default_conf)
default_conf.update({
@@ -472,7 +472,7 @@ def test_backtesting_pairlist_list(default_conf, mocker, caplog, testdatadir, ti
default_conf['pairlists'] = [{"method": "VolumePairList", "number_assets": 5}]
with pytest.raises(OperationalException,
match='VolumePairList not allowed for backtesting. Please use StaticPairlist.'):
match='VolumePairList not allowed for backtesting. Use StaticPairlist.'):
Backtesting(default_conf)
default_conf['pairlists'] = [{"method": "StaticPairList"}, {"method": "PerformanceFilter"}]