Skip to content

ENH remove _xfail_checks, pass directly to check runners, return structured output from check_estimator#30149

Merged
adrinjalali merged 25 commits into
scikit-learn:mainfrom
adrinjalali:xfail_checks
Nov 8, 2024
Merged

ENH remove _xfail_checks, pass directly to check runners, return structured output from check_estimator#30149
adrinjalali merged 25 commits into
scikit-learn:mainfrom
adrinjalali:xfail_checks

Conversation

@adrinjalali

@adrinjalali adrinjalali commented Oct 25, 2024

Copy link
Copy Markdown
Member

Fixes #29951, Fixes #30133

This moves _xfail_checks out of the estimator tags.

  • Deprecation: We don't need to deprecate _xfail_checks since we haven't even released the new tags anyway.
  • Behavior change: check_estimator now doesn't raise a SkipTestWarning for _xfailed_ checks, since they're not skipped. It also doesn't skip them at all, it runs all the checks.
  • Structured output: check_estimator now returns a report of xfail and skipped tests if it passes, and if it fails, the thrown exception has that same report included in it.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Developer API Third party developer API related

Development

Successfully merging this pull request may close these issues.

check_estimator to return structured info RFC Expose xfail_checks with a more flexible API

5 participants