class_docstr: Test that the QNode correctly changes shot value, and
  remains differentiable.
class_docstr_tok: ["Test","that","the","QNode","correctly","changes","shot","value",",","and","remains","differentiable","."]
docstr: Test device works with diff_method=None.
docstr_tok: ["Test","device","works","with","diff_method=None","."]
code: def test_diff_method_None(self, interface):
      """Test device works with diff_method=None."""
  
      @qml.qnode(DefaultQubit(), diff_method=None, interface=interface)
      def circuit(x):
          qml.RX(x, wires=0)
          return qml.expval(qml.PauliZ(0))
  
      assert jax.numpy.allclose(
          circuit(jax.numpy.array(0.0), shots=10), 1
      )
  
imports: from itertools import product
  import numpy
  import pytest
  import pennylane
  from pennylane import qnode
  from pennylane.devices import DefaultQubit
label_desc: Use image node_id 1 for calling the TestShotsIntegration obj's underlying member method code with example usage: obj.test_diff_method_None(interface) and returns: qml