class_docstr: Test that the supported configurations in the documentation
  matches the supported configurations in the code.
  
  Also test that the supported configurations do not raise any errors and
  the unsupported configurations raise the expected errors or otherwise
  behave as expected.
  
  These tests do not test for correctness.
class_docstr_tok: ["Test","that","the","supported","configurations","in","the","documentation","matches","the","supported","configurations","in","the","code",".","Also","test","that","the","supported","configurations","do","not","raise","any","errors","and","the","unsupported","configurations","raise","the","expected","errors","or","otherwise","behave","as","expected",".","These","tests","do","not","test","for","correctness","."]
docstr: Test interface=None and diff_method in [adjoint, parameter-shift,
  finite-diff, spsa, hadamard] has a working forward pass
docstr_tok: ["Test","interface=None","and","diff_method","in","[","adjoint",",","parameter-shift",",","finite-diff",",","spsa",",","hadamard","]","has","a","working","forward","pass"]
code: def test_none_all(self, diff_method, return_type, shots, wire_specs):
      """Test interface=None and diff_method in [adjoint, parameter-shift,
      finite-diff, spsa, hadamard] has a working forward pass"""
      circuit = get_qnode(
          None, diff_method, return_type, shots, wire_specs
      )
      x = get_variable(None, wire_specs)
  
      msg = None
      if not shots and return_type is Sample:
          msg = "not accepted for analytic simulation"
      elif diff_method == "adjoint":
          if shots:
              if return_type in {
                  VnEntropy,
                  MutualInfo,
                  "StateCost",
                  "StateVector",
                  "DensityMatrix",
              }:
                  msg = "not accepted with finite shots"
              else:
                  msg = "Finite shots are not supported with"
      elif shots and return_type in (
          VnEntropy,
          MutualInfo,
          "DensityMatrix",
          "StateCost",
          "StateVector",
      ):
          msg = "not accepted with finite shots on"
  
      if msg is not None:
          with pytest.raises(qml.DeviceError, match=msg):
              circuit(x)
      else:
          circuit(x)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane import QuantumFunctionError
  from pennylane.measurements import Probability, Expectation, Variance, Sample, VnEntropy, MutualInfo
  from pennylane.measurements.measurements import ObservableReturnTypes
label_desc: Use image node_id 3 for calling the TestSupportedConfs obj's underlying member method code with example usage: obj.test_none_all(diff_method, return_type, shots, wire_specs) without return types