code: def test_restrict_wrong(self):
      other_type = np.array([1, 2, 3])
  
      self.assertRaises(
          TypeError,
          dataframe_functions.restrict_input_to_index,
          other_type,
          "id",
          [1, 2, 3],
      )
  
imports: import warnings
  from unittest import TestCase
  import numpy
  import pandas
  from pandas.testing import assert_frame_equal, assert_series_equal
  from tests.fixtures import warning_free
  from tsfresh import extract_relevant_features
  from tsfresh.feature_extraction.settings import MinimalFCParameters
  from tsfresh.utilities import dataframe_functions
label_desc: Use image node_id 3 for calling the RestrictTestCase obj's underlying member method code with example usage: obj.test_restrict_wrong() without return types