sktime/sktime

[ENH] move test skip config from `tests._config` to estimator tags

Open

#8 515 ouverte le 10 juil. 2025

Voir sur GitHub
 (11 commentaires) (0 réactions) (0 assignés)Python (1 192 forks)batch import
enhancementgood first issuemodule:tests

Métriques du dépôt

Stars
 (7 162 stars)
Métriques de merge PR
 (Merge moyen 26j 10h) (86 PRs mergées en 30 j)

Description

Test skip configs should be moved from tests._config to estimator tags.

This is a good first issue with a recipe applicable to many cases:

  1. pick one estimator that has an entry in tests._config, in EXCLUDE_ESTIMATORS, EXCLUDED_TESTS, or EXCLUDED_TESTS_BY_TEST
  2. remove from EXCLUDE_ESTIMATORS and instead add the tag "tests:skip_all": True to the estimator (see other examples)
  3. remove from EXCLUDED_TESTS, and instead add the tag "tests:skip_by_name" to the estimator, with value the list of skipped tests.
  4. if the estimator appears in EXCLUDED_TESTS_BY_TEST as well, try to fix get_test_params or the docstring (do not transfer this otherwise).

Please only handle a single estimator at a time, since the tests will trigger in the pull request.

Guide contributeur