Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUG] fix
test_run_test_for_class
logic check if `ONLY_CHANGED_MODU…
…LES` flag is `False` and all estimator dependencies are present (#6383) This fixes an unreported bug pointed out by @yarnabrina in the test `test_run_test_for_class`, in the check for the logic of `run_test_for_class` returning an attribution of its test yes/no flag to a reason. If `ONLY_CHANGED_MODULES` flag is `False` and all estimator dependencies are present, the reason returned should be `True_run_always`, but the test checks incorrectly for another positive reason. This is fixed - a bug with the test, not with `run_test_for_class` - as it did not take into account properly the combination of `ONLY_CHANGED_MODULES = False` and all dependencies present, which in our CI occurs only in `test_all`.
- Loading branch information