code: def test_add_parent_not_index_column(es):
      error_text = "Parent column 'language' is not the index of dataframe régions"
      with pytest.raises(AttributeError, match=error_text):
          es.add_relationship(
              "régions", "language", "customers", "région_id"
          )
  
imports: import pandas
  import pytest
  from featuretools import EntitySet
  from featuretools.tests.testing_utils import backward_path, forward_path
label_desc: Use image node_id 22 for calling a global function with example usage: test_add_parent_not_index_column(es) without return types