class_docstr: Unit tests for the counts.process_samples method
docstr: Test that passing a list containing measurement values composed with arithmetic
  raises an error.
docstr_tok: ["Test","that","passing","a","list","containing","measurement","values","composed","with","arithmetic","raises","an","error","."]
code: def test_composed_measurement_value_lists_not_allowed(self):
      """Test that passing a list containing measurement values composed with arithmetic
      raises an error."""
      m0 = qml.measure(0)
      m1 = qml.measure(1)
      m2 = qml.measure(2)
  
      with pytest.raises(
          qml.QuantumFunctionError,
          match="Only sequences of single MeasurementValues can be passed with the op argument",
      ):
          _ = qml.counts(op=[m0 + m1, m2])
  
imports: import copy
  import numpy
  import pytest
  import pennylane
  from pennylane.measurements import AllCounts, Counts, CountsMP
  from pennylane.wires import Wires
label_desc: Use image node_id 9 for calling the TestProcessSamples obj's underlying member method code with example usage: obj.test_composed_measurement_value_lists_not_allowed() without return types