Merge pull request #9452 from chasdabigone/fix-hyperopt-typo

Removed redudant negative from sentence
This commit is contained in:
Matthias
2023-11-21 06:58:12 +01:00
committed by GitHub

View File

@@ -21,7 +21,7 @@ logger = logging.getLogger(__name__)
def _format_exception_message(space: str, ignore_missing_space: bool) -> None:
msg = (f"The '{space}' space is included into the hyperoptimization "
f"but no parameter for this space was not found in your Strategy. "
f"but no parameter for this space was found in your Strategy. "
)
if ignore_missing_space:
logger.warning(msg + "This space will be ignored.")