code: def test_scores_fail():
      """[SuperLearner] test scoring exception handling."""
      np.testing.assert_warns(MetricWarning, ens_f.fit, X1, y1)
  
file_path: mlens/mlens/ensemble/tests/test_super_learner.py
imports: import numpy
  from mlens.metrics import rmse
  from mlens.utils.exceptions import MetricWarning
  from mlens.index import FoldIndex
  from mlens.testing.dummy import Data, OLS, PREPROCESSING, ESTIMATORS, ECM
  from mlens.ensemble import SuperLearner
  import os
label_desc: Use image node_id 6 for calling a global function with example usage: test_scores_fail() without return types