def patched_instance_more_tags(self):
            """Instance-level _more_tags that combines class tags with _xfail_checks"""
            # Get tags from class-level _more_tags
            tags = original_class_more_tags(self)
            # Update with the xfail checks
            tags.update({"_xfail_checks": expected_failed_checks})
            return tags
Instance-level _more_tags that combines class tags with _xfail_checks
imblearn/utils/_sklearn_compat.py