code: def test_type_axis(df):
      """Raise TypeError if wrong type is provided for axis."""
      with pytest.raises(TypeError, match="axis should be one of.+"):
          df.change_index_dtype(dtype=float, axis=1)
  
file_path: pyjanitor/tests/functions/test_change_index_dtype.py
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 3 for calling a global function with example usage: test_type_axis(df) without return types