chore: fix RUF043 violations

This commit is contained in:
Matthias
2025-09-15 19:20:20 +02:00
parent 95a710d4a8
commit 9f436dcd1e
15 changed files with 51 additions and 46 deletions
+1 -1
View File
@@ -986,7 +986,7 @@ def test_execute_entry(
# Fail to get price...
mocker.patch(f"{EXMS}.get_rate", MagicMock(return_value=0.0))
with pytest.raises(PricingError, match="Could not determine entry price."):
with pytest.raises(PricingError, match=r"Could not determine entry price\."):
freqtrade.execute_entry(pair, stake_amount, is_short=is_short)
# In case of custom entry price