class_docstr: Tests for the extract_tensors function
class_docstr_tok: ["Tests","for","the","extract_tensors","function"]
docstr: Test that strings are not treated as a sequence
docstr_tok: ["Test","that","strings","are","not","treated","as","a","sequence"]
code: def test_iterable_with_strings(self):
      """Test that strings are not treated as a sequence"""
      arr1 = np.array([0.4, 0.1])
      arr2 = np.array([1])
  
      res = list(np.extract_tensors([arr1, ["abc", [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 2 for calling the TestExtractTensors obj's underlying member method code with example usage: obj.test_iterable_with_strings() without return types