class_docstr: Test creating expansion functions from stopping criteria.
class_docstr_tok: ["Test","creating","expansion","functions","from","stopping","criteria","."]
docstr: Test creation of expand_fn.
docstr_tok: ["Test","creation","of","expand_fn","."]
code: def test_create_expand_fn(self):
      """Test creation of expand_fn."""
      expand_fn = qml.transforms.create_expand_fn(
          depth=10,
          stop_at=self.crit_0,
          docstring=self.doc_0,
      )
      assert expand_fn.__doc__ == "Test docstring."
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TestCreateExpandFn obj's underlying member method code with example usage: obj.test_create_expand_fn() without return types