Skip to content

[BUG] preserve exception type raised by get_test_params#300

Merged
fkiraly merged 1 commit into
mainfrom
get_test_params-err
Mar 1, 2024
Merged

[BUG] preserve exception type raised by get_test_params#300
fkiraly merged 1 commit into
mainfrom
get_test_params-err

Conversation

@fkiraly
Copy link
Copy Markdown
Contributor

@fkiraly fkiraly commented Mar 1, 2024

PR #239 changes the type of exception raised by get_test_params to ValueError, which is an unintended side effect of the imprroved error feedback.

This can lead to breakage in exception handling, e.g., in sktime tests for exception handling on top.

This PR ensures the type of exception is preserved.

@fkiraly fkiraly added the bug Something isn't working label Mar 1, 2024
@fkiraly fkiraly merged commit da86373 into main Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant