code: def test_no_oob_score(params, error, err_msg):
      clf = TSBF(**params)
      with pytest.raises(error, match=re.escape(err_msg)):
          clf.fit(X_arange, y)
  
file_path: pyts/pyts/classification/tests/test_tsbf.py
imports: import numpy
  import pytest
  import re
  from pyts.classification import TSBF
  from pyts.classification.tsbf import IntervalFeatureExtractor
  from pyts.classification.tsbf import extract_features, histogram
  from sklearn.tree import DecisionTreeClassifier
label_desc: Use image node_id 9 for calling a global function with example usage: test_no_oob_score(params, error, err_msg) without return types