code: def data_names_match(self):
      event, time = self.event_and_time
  
      err = pytest.raises(
          ValueError,
          match="name_time must be different from name_event",
      )
      kwargs = {
          "name_event": "time_and_event",
          "name_time": "time_and_event",
      }
      return (event, time), kwargs, None, err
  
imports: from collections import OrderedDict
  from contextlib import nullcontext
  import numpy
  from numpy.testing import assert_array_equal
  import pandas
  import pandas.testing
  import pytest
  from sksurv.testing import FixtureParameterFactory
  from sksurv.util import Surv, _PropertyAvailableIfDescriptor, property_available_if, safe_concat
label_desc: Use image node_id 17 for calling the SurvArrayCases obj's underlying member method code with example usage: obj.data_names_match() and returns: event,  time,  kwargs,  None,  err