class_docstr: Tests for the tensor.unwrap() and tensor.numpy() methods
class_docstr_tok: ["Tests","for","the","tensor.unwrap","(",")","and","tensor.numpy","(",")","methods"]
docstr: Test that a numpy array successfully converts
docstr_tok: ["Test","that","a","numpy","array","successfully","converts"]
code: def test_convert_array(self):
      """Test that a numpy array successfully converts"""
      data = np.array([1, 2, 3])
      res = data.numpy()
  
      assert np.shares_memory(res, data)
      assert np.all(res == data)
      assert isinstance(res, np.ndarray)
      assert not isinstance(res, np.tensor)
  
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 TestNumpyConversion obj's underlying member method code with example usage: obj.test_convert_array() without return types