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 test_run_test_for_class logic check if ONLY_CHANGED_MODULES flag is False and all estimator dependencies are present #6383

Merged
merged 1 commit into from
May 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions sktime/tests/tests/test_test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ def test_run_test_for_class():
if not dep_present:
assert not run
assert reason == "False_required_deps_missing"
elif not ONLY_CHANGED_MODULES:
assert run
assert reason == "True_run_always"
elif run:
assert reason in POS_REASONS
assert reason_wdep == reason or reason_nodep == reason
Expand Down