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 test logic #6448

Merged
merged 2 commits into from
May 19, 2024
Merged

[BUG] fix test_run_test_for_class test logic #6448

merged 2 commits into from
May 19, 2024

Conversation

fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented May 18, 2024

The test_run_test_for_class test logic was erroneous in case the class with dependency was changed.

This is due to an accidental variable overwrite, run_no_dep being overwritten with the value from the test class with dependencies.

Spotted through failure in sktime/skpro#343, which changed the "class with dependencies" example used in skpro.

@fkiraly fkiraly added module:tests test framework functionality - only framework, excl specific tests bugfix Fixes a known bug or removes unintended behavior labels May 18, 2024
@fkiraly fkiraly merged commit b0621f3 into main May 19, 2024
2 checks passed
@fkiraly fkiraly deleted the fix-test-run branch May 19, 2024 10:59
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:tests test framework functionality - only framework, excl specific tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants