class_docstr: Tests for the extract_tensors function
class_docstr_tok: ["Tests","for","the","extract_tensors","function"]
docstr: Test that the extraction ignores unpatched numpy arrays
docstr_tok: ["Test","that","the","extraction","ignores","unpatched","numpy","arrays"]
code: def test_iterable_with_unpatched_numpy_arrays(self):
      """Test that the extraction ignores unpatched numpy arrays"""
      arr1 = np.array([0.4, 0.1])
      arr2 = np.array([1])
  
      res = list(
          np.extract_tensors([arr1, [onp.array([1, 2]), [arr2]]])
      )
  
      assert len(res) == 2
      assert res[0] is arr1
      assert res[1] is arr2
  
imports: import numpy
  import pytest
  from autograd.numpy.numpy_boxes import ArrayBox
  import pennylane
  from pennylane import numpy
  from pennylane.numpy.tensor import tensor_to_arraybox
label_desc: Use image node_id 3 for calling the TestExtractTensors obj's underlying member method code with example usage: obj.test_iterable_with_unpatched_numpy_arrays() without return types