class_docstr: Non differentiability tests for the transform program keyword argument.
docstr: Test that if no transform program is provided, null default behavior is used.
docstr_tok: ["Test","that","if","no","transform","program","is","provided",",","null","default","behavior","is","used","."]
code: def test_transform_program_none(self, interface):
      """Test that if no transform program is provided, null default behavior is used."""
  
      dev = qml.devices.DefaultQubit()
  
      tape0 = qml.tape.QuantumScript(
          [qml.RX(1.0, 0)], [qml.expval(qml.PauliZ(0))]
      )
      tape1 = qml.tape.QuantumScript([qml.RY(2.0, 0)], [qml.state()])
  
      with dev.tracker as tracker:
          results = qml.execute(
              (tape0, tape1),
              dev,
              transform_program=None,
              interface=interface,
          )
  
      assert qml.math.allclose(results[0], np.cos(1.0))
      assert qml.math.allclose(
          results[1], np.array([np.cos(1.0), np.sin(1.0)])
      )
  
      # checks on what is passed to the device. Should be exactly what we put in.
      assert tracker.totals["executions"] == 2
      assert tracker.history["resources"][0].gate_types["RX"] == 1
      assert tracker.history["resources"][1].gate_types["RY"] == 1
  
file_path: pennylane/tests/interfaces/test_transform_program_integration.py
imports: import copy
  from typing import Tuple, Callable
  from functools import partial
  import pytest
  import numpy
  import pennylane
label_desc: Use image node_id 1 for calling the TestTransformProgram obj's underlying member method code with example usage: obj.test_transform_program_none(interface) without return types