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