class_docstr: Further unit tests for some new methods of Device.
class_docstr_tok: ["Further","unit","tests","for","some","new","methods","of","Device","."]
docstr: Test that entropy cannot be returned with custom wires.
docstr_tok: ["Test","that","entropy","can","not","be","returned","with","custom","wires","."]
code: def test_entropy_no_custom_wires(self):
      """Test that entropy cannot be returned with custom wires."""
  
      dev = qml.device("default.qubit", wires=["a", 1])
  
      with qml.queuing.AnnotatedQueue() as q:
          qml.PauliX(wires="a")
          qml.vn_entropy(wires=["a"])
  
      tape = qml.tape.QuantumScript.from_queue(q)
      program, _ = dev.preprocess()
      res = qml.execute(
          tapes=[tape],
          device=dev,
          gradient_fn=None,
          transform_program=program,
      )
      assert res == (0,)
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane.measurements import MeasurementProcess
label_desc: Use image node_id 3 for calling the TestDeviceNewUnits obj's underlying member method code with example usage: obj.test_entropy_no_custom_wires() without return types