mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-11 16:50:40 +00:00
chore: fix RUF043 violations
This commit is contained in:
@@ -11,8 +11,8 @@ from freqtrade.resolvers.hyperopt_resolver import HyperOptLossResolver
|
||||
def test_hyperoptlossresolver_noname(default_conf):
|
||||
with pytest.raises(
|
||||
OperationalException,
|
||||
match="No Hyperopt loss set. Please use `--hyperopt-loss` to specify "
|
||||
"the Hyperopt-Loss class to use.",
|
||||
match=r"No Hyperopt loss set. Please use `--hyperopt-loss` to specify "
|
||||
r"the Hyperopt-Loss class to use\.",
|
||||
):
|
||||
HyperOptLossResolver.load_hyperoptloss(default_conf)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user