code: def test_batched_counts_no_op_finite_shots(
      interface, wires, basis_states
  ):
      """Check all interfaces with computational basis state counts and
      finite shot"""
      n_shots = 10
      dev = qml.device("default.qubit", wires=3, shots=n_shots)
  
      @qml.qnode(dev, interface=interface)
      def circuit():
          qml.pow(qml.PauliX(1), z=[1, 2])
          return qml.counts(wires=wires)
  
      res = circuit()
      assert res == type(res)(
          [{basis_state: n_shots} for basis_state in basis_states]
      )
  
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 2 for calling a global function with example usage: test_batched_counts_no_op_finite_shots(interface, wires, basis_states) and returns: qml