diff --git a/skpro/tests/test_all_estimators.py b/skpro/tests/test_all_estimators.py index 9e9f55153..abb89b626 100644 --- a/skpro/tests/test_all_estimators.py +++ b/skpro/tests/test_all_estimators.py @@ -90,7 +90,8 @@ def _all_objects(self): # this setting ensures that only estimators are tested that have changed # in the sense that any line in the module is different from main - if ONLY_CHANGED_MODULES: + # exception: if this module has changed, we always run all tests by override + if ONLY_CHANGED_MODULES and not is_class_changed(type(self)): obj_list = [obj for obj in obj_list if is_class_changed(obj)] return obj_list