code: def test_repr_html_error():
      reg = BaseEstimator()
      res = explain_weights_sklearn(reg)
      html = res._repr_html_()
      assert "BaseEstimator" in html
  
imports: from sklearn.linear_model import LinearRegression
  from sklearn.tree import DecisionTreeRegressor
  from sklearn.base import BaseEstimator
  from eli5.sklearn import explain_weights_sklearn
label_desc: Use image node_id 2 for calling a global function with example usage: test_repr_html_error() without return types