class_docstr: Tests for the single_tape_transform decorator
class_docstr_tok: ["Tests","for","the","single_tape_transform","decorator"]
docstr: Test that the single_tape_transform class is deprecated.
docstr_tok: ["Test","that","the","single_tape_transform","class","is","deprecated","."]
code: def test_single_tape_transform_is_deprecated(self):
      """Test that the single_tape_transform class is deprecated."""
  
      def func(op):
          return op
  
      with pytest.warns(
          UserWarning,
          match="Use of `single_tape_transform` to create a custom transform is deprecated",
      ):
          _ = qml.single_tape_transform(func)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 1 for calling the TestSingleTapeTransform obj's underlying member method code with example usage: obj.test_single_tape_transform_is_deprecated() and returns: op