diff --git a/freqtrade/plugins/pairlist/DelistFilter.py b/freqtrade/plugins/pairlist/DelistFilter.py index d208d7a3e..d4a3ce90b 100644 --- a/freqtrade/plugins/pairlist/DelistFilter.py +++ b/freqtrade/plugins/pairlist/DelistFilter.py @@ -86,7 +86,8 @@ class DelistFilter(IPairList): if remove_pair: self.log_once( - f"Removed {pair} from whitelist, because it will be delisted on {format_date(delist_date)}.", + f"Removed {pair} from whitelist, because it will be delisted on " + f"{format_date(delist_date)}.", logger.info, ) return False diff --git a/tests/plugins/test_pairlist.py b/tests/plugins/test_pairlist.py index ba567ff07..5e64a5d03 100644 --- a/tests/plugins/test_pairlist.py +++ b/tests/plugins/test_pairlist.py @@ -1840,7 +1840,8 @@ def test_spreadfilter_invalid_data(mocker, default_conf, markets, tickers, caplo ), # ConfigurationError expected ( {"method": "DelistFilter", "max_days_from_now": 1}, - "[{'DelistFilter': 'DelistFilter - Filtering pairs that will be delisted in the next 1 days.'}]", + "[{'DelistFilter': 'DelistFilter - Filtering pairs that will be delisted in the " + "next 1 days.'}]", None, ), # ConfigurationError expected (