class_docstr: Tests for the transform specs using the QNode
class_docstr_tok: ["Tests","for","the","transform","specs","using","the","QNode"]
docstr: Tests that num_wires behaves differently on old and new devices.
docstr_tok: ["Tests","that","num_wires","behaves","differently","on","old","and","new","devices","."]
code: def test_num_wires_source_of_truth(self, device, num_wires):
      """Tests that num_wires behaves differently on old and new devices."""
  
      @qml.qnode(device)
      def circuit():
          qml.PauliX(0)
          return qml.state()
  
      info = qml.specs(circuit)()
      assert info["num_device_wires"] == num_wires
  
file_path: pennylane/tests/resource/test_specs.py
imports: from typing import Sequence, Callable
  from collections import defaultdict
  from contextlib import nullcontext
  import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 9 for calling the TestSpecsTransform obj's underlying member method code with example usage: obj.test_num_wires_source_of_truth(device, num_wires) and returns: qml