class_docstr: Test creating expansion functions from stopping criteria.
class_docstr_tok: ["Test","creating","expansion","functions","from","stopping","criteria","."]
docstr: Test expansion is skipped with depth=0.
docstr_tok: ["Test","expansion","is","skipped","with","depth=0","."]
code: def test_create_expand_fn_dont_expand(self):
      """Test expansion is skipped with depth=0."""
      expand_fn = qml.transforms.create_expand_fn(
          depth=0, stop_at=self.crit_0
      )
  
      new_tape = expand_fn(self.tape)
      assert new_tape.operations == self.tape.operations
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane.wires import Wires
label_desc: Use image node_id 3 for calling the TestCreateExpandFn obj's underlying member method code with example usage: obj.test_create_expand_fn_dont_expand() without return types