code: def test_check_is_fitted_error():
      with pytest.raises(TypeError) as te:
          sk.check_is_fitted(None, None)
      assert (
          "attributes must be a string or iterable"
          in pytest_error_str(te)
      )
  
file_path: pmdarima/pmdarima/compat/tests/test_sklearn.py
imports: from pmdarima.arima import ARIMA
  from pmdarima.compat.pytest import pytest_error_str
  from pmdarima.compat import sklearn
  import numpy
  import pandas
  from numpy.testing import assert_array_equal
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_check_is_fitted_error() without return types