more tests

This commit is contained in:
Matthias
2021-03-28 19:49:20 +02:00
parent 20f7e9b4b7
commit 929f329607
3 changed files with 24 additions and 5 deletions

View File

@@ -145,7 +145,7 @@ class CategoricalParameter(BaseParameter):
"""
if len(categories) < 2:
raise OperationalException(
'IntParameter space must be [a, b, ...] (at least two parameters)')
'CategoricalParameter space must be [a, b, ...] (at least two parameters)')
super().__init__(opt_range=categories, default=default, space=space, enabled=enabled,
**kwargs)