Skip to content

Commit

Permalink
Update test_all_estimators.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fkiraly committed Oct 8, 2023
1 parent 0e10d48 commit 6129c9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion skpro/tests/test_all_estimators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6129c9a

Please sign in to comment.