code: def test_suffix_newname_validation(dataframe):
      """Check ValueError is raised when both suffix and new_column_names are
      provided."""
      with pytest.raises(
          ValueError,
          match="Only one of `suffix` or `new_column_names` should be specified",
      ):
          _ = (
              dataframe.add_column("another", 10)
              .add_column("column", 100)
              .transform_columns(
                  ["another", "column"],
                  np.log10,
                  new_column_names={
                      "another": "hello",
                      "column": "world",
                  },
                  suffix="_log",
              )
          )
  
file_path: pyjanitor/tests/functions/test_transform_columns.py
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_suffix_newname_validation(dataframe) without return types