code: def test_new_column_names_presence_list(test_returns_dataframe):
      """
      Raise ValueError if `new_column_names` is a list and at least
      one of the new names is in the dataframe.
      """
      with pytest.raises(ValueError):
          test_returns_dataframe.process_text(
              column_name="text",
              new_column_names=["numbers", "newtext"],
              string_function="extractall",
              pat=r"([ab])?(\d)",
          )
  
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 7 for calling a global function with example usage: test_new_column_names_presence_list(test_returns_dataframe) without return types