code: def test_set_feature_names_error_on_single_output_feature(es):
      feat = Feature(es["sessions"].ww["device_name"], "log")
      new_names = ["sessions_device"]
      error_msg = "The set_feature_names can only be used on features that have more than one output column."
      with pytest.raises(ValueError, match=error_msg):
          feat.set_feature_names(new_names)
  
imports: import os.path
  import re
  import pytest
  from pympler.asizeof import asizeof
  from woodwork.column_schema import ColumnSchema
  from woodwork.logical_types import Datetime, Integer
  from featuretools import Feature, config, feature_base
  from featuretools.feature_base import IdentityFeature
  from featuretools.primitives import Count, Diff, Last, Mode, Negate, NMostCommon, NumUnique, Sum, TransformPrimitive
  from featuretools.synthesis.deep_feature_synthesis import can_stack_primitive_on_inputs
  from featuretools.tests.testing_utils import check_rename
label_desc: Use image node_id 28 for calling a global function with example usage: test_set_feature_names_error_on_single_output_feature(es) without return types