class_docstr: Tests vector expansion to more wires
class_docstr_tok: ["Tests","vector","expansion","to","more","wires"]
docstr: Test that expand_vector works with a single-wire vector.
docstr_tok: ["Test","that","expand_vector","works","with","a","single-wire","vector","."]
code: def test_expand_vector_single_wire(
      self, original_wires, expanded_wires, expected, tol
  ):
      """Test that expand_vector works with a single-wire vector."""
  
      res = pu.expand_vector(
          TestExpandVector.VECTOR1, original_wires, expanded_wires
      )
  
      assert np.allclose(res, expected, atol=tol, rtol=0)
  
imports: import functools
  import itertools
  import pytest
  import numpy
  import pennylane
  import pennylane.utils
label_desc: Use image node_id 1 for calling the TestExpandVector obj's underlying member method code with example usage: obj.test_expand_vector_single_wire(original_wires, expanded_wires, expected, tol) without return types