code: def test_new_column_names_type(process_test_df):
      """Raise TypeError if `new_column_names` type is not string or list."""
      with pytest.raises(TypeError):
          process_test_df.process_text(
              column_name="text", new_column_names={"nutext": "rar"}
          )
  
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 4 for calling a global function with example usage: test_new_column_names_type(process_test_df) without return types