Skip to content

[ENH] improved exception feedback for test instance generation methods of BaseObject#286

Merged
fkiraly merged 3 commits into
mainfrom
better-get_test_params
Feb 10, 2024
Merged

[ENH] improved exception feedback for test instance generation methods of BaseObject#286
fkiraly merged 3 commits into
mainfrom
better-get_test_params

Conversation

@fkiraly
Copy link
Copy Markdown
Contributor

@fkiraly fkiraly commented Feb 6, 2024

This PR improves the developer experience for handling the test instance generation of BaseObject:

  • improved exception messages clarifying reason of failure if create_test_instance or create_test_instances_and_names is called
  • extension of get_test_params to allow cases where not all __init__ params have defaults

@fkiraly fkiraly merged commit 4bbad8b into main Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant