code: def test_reset_index_wrong_type(df_checks_output):
      """Raise TypeError if the wrong type is provided for `reset_index`."""
      with pytest.raises(TypeError):
          df_checks_output.pivot_wider(
              index="name",
              names_from=["estimate", "variable"],
              reset_index=1,
          )
  
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 16 for calling a global function with example usage: test_reset_index_wrong_type(df_checks_output) without return types