code: def test_names_glue_wrong_label(df_checks_output):
      """Raise KeyError if the wrong column label is provided in `names_glue`."""
      with pytest.raises(
          KeyError,
          match="'variabl' is not a column label in names_from.",
      ):
          df_checks_output.pivot_wider(
              index=["geoid", "name"],
              names_from="variable",
              values_from=["estimate", "error"],
              names_glue="{variabl}_{_value}",
          )
  
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 10 for calling a global function with example usage: test_names_glue_wrong_label(df_checks_output) without return types