class_docstr: Tests for the Tensor(ndarray) subclass
class_docstr_tok: ["Tests","for","the","Tensor","(","ndarray",")","subclass"]
docstr: Test converting a PennyLane NumPy array to an ArrayBox object
docstr_tok: ["Test","converting","a","PennyLane","NumPy","array","to","an","ArrayBox","object"]
code: def test_numpy_to_arraybox(self):
      """Test converting a PennyLane NumPy array to an ArrayBox object"""
      x = onp.array(0)
      res = tensor_to_arraybox(x, None, None)
      assert isinstance(res, ArrayBox)
  
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 5 for calling the TestTensor obj's underlying member method code with example usage: obj.test_numpy_to_arraybox() without return types