class_docstr: Test for the hashing capability of scalar arrays.
class_docstr_tok: ["Test","for","the","hashing","capability","of","scalar","arrays","."]
docstr: Test that a collection of scalar arrays can be properly hashed
  when creating a set
docstr_tok: ["Test","that","a","collection","of","scalar","arrays","can","be","properly","hashed","when","creating","a","set"]
code: def test_create_set_scalar_arrays(self):
      """Test that a collection of scalar arrays can be properly hashed
      when creating a set"""
      data = [np.array(1), np.array(2), np.array(1), np.array(3)]
      res = set(data)
      expected = {np.array(1), np.array(2), np.array(3)}
      assert res == expected
  
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 1 for calling the TestScalarHashing obj's underlying member method code with example usage: obj.test_create_set_scalar_arrays() without return types