code: def test_unwraps_tensor_observables():
      """Test that the measurement helper function can set data on a tensor observable."""
      mat = qml.numpy.eye(2)
      obs = qml.operation.Tensor(qml.PauliZ(0), qml.Hermitian(mat, 1))
      m = qml.expval(obs)
  
      unwrapped_m = _convert_measurement_to_numpy_data(m)
      assert qml.math.get_interface(*unwrapped_m.obs.data) == "numpy"
  
file_path: pennylane/tests/transforms/test_convert_to_numpy_parameters.py
imports: import pytest
  import numpy
  import pennylane
  from pennylane.transforms import convert_to_numpy_parameters
  from pennylane.transforms.convert_to_numpy_parameters import _convert_op_to_numpy_data, _convert_measurement_to_numpy_data
label_desc: Use image node_id 5 for calling a global function with example usage: test_unwraps_tensor_observables() without return types