Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] fix scitype coerce_to_list parameter, add test coverage #5578

Merged
merged 4 commits into from Dec 22, 2023

Conversation

fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented Nov 25, 2023

This PR fixes an unreported bug where registry.scitype would return strings even if coerce_to_list=True.

To ensure future coverage, a test is also added.

@fkiraly fkiraly added bugfix Fixes a known bug or removes unintended behavior module:base-framework BaseObject, registry, base framework labels Nov 25, 2023
@fkiraly fkiraly merged commit 216caa7 into main Dec 22, 2023
39 checks passed
@fkiraly fkiraly deleted the test-scitype branch December 22, 2023 13:03
fkiraly added a commit that referenced this pull request Dec 22, 2023
…to central location (#5574)

This PR adds a test class register in the main `tests` folder, and
refactors `check_estimator` test gathering to that central location.

This is in anticipation of:

* test gathering potentially across `python` packages, e.g., polymorphic
pipelines with components across packages
* unified `check_estimator` interfaces across packages
* simplifying extension pattern when adding more scitypes
* logic for switching on tests for all affected estimators when test
classes are changed

Depends on #5578 due to a bug in
the `scitype` utility that needed to be fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes a known bug or removes unintended behavior module:base-framework BaseObject, registry, base framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant