You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In benchmark.py a ValueException is raised when 0 parameters are specified and when the same parameter is added twice to the list of defaults.
ValueExceptionisn't a valid Python exception, so if any of the two cases above happen it ends up with: NameError: global name 'ValueException' is not defined
Maybe ValueError, KeyError or TypeError would be more appropriate? I can submit a PR for this (if you let me :)
The text was updated successfully, but these errors were encountered:
In
benchmark.py
aValueException
is raised when 0 parameters are specified and when the same parameter is added twice to the list of defaults.ValueException
isn't a valid Python exception, so if any of the two cases above happen it ends up with:NameError: global name 'ValueException' is not defined
Maybe
ValueError
,KeyError
orTypeError
would be more appropriate? I can submit a PR for this (if you let me :)The text was updated successfully, but these errors were encountered: