code: def test_explain_weights_unsupported():
      clf = BaseEstimator()
      res = explain_weights(clf)
      assert "BaseEstimator" in res.error
      with pytest.raises(TypeError):
          explain_prediction(clf, unknown_argument=True)
  
file_path: eli5/tests/test_lightning.py
imports: from __future__ import absolute_import
  import pytest
  from lightning import regression, classification
  from lightning.impl.base import BaseEstimator
  from sklearn.multiclass import OneVsRestClassifier
  from eli5.lightning import _CLASSIFIERS, _REGRESSORS
  from eli5 import explain_weights, explain_weights_lightning, explain_prediction, explain_prediction_lightning
  from .test_sklearn_explain_prediction import assert_multiclass_linear_classifier_explained, assert_linear_regression_explained, assert_binary_linear_classifier_explained, test_explain_prediction_pandas
  from .test_sklearn_explain_weights import assert_explained_weights_linear_classifier, assert_explained_weights_linear_regressor
label_desc: Use image node_id 8 for calling a global function with example usage: test_explain_weights_unsupported() without return types