mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-23 12:53:54 +00:00
chore: fix RUF043 violations
This commit is contained in:
@@ -49,7 +49,7 @@ def test_ohlcv_to_dataframe(ohlcv_history_list, caplog):
|
||||
|
||||
def test_trades_to_ohlcv(trades_history_df, caplog):
|
||||
caplog.set_level(logging.DEBUG)
|
||||
with pytest.raises(ValueError, match="Trade-list empty."):
|
||||
with pytest.raises(ValueError, match=r"Trade-list empty\."):
|
||||
trades_to_ohlcv(pd.DataFrame(columns=trades_history_df.columns), "1m")
|
||||
|
||||
df = trades_to_ohlcv(trades_history_df, "1m")
|
||||
|
||||
Reference in New Issue
Block a user