class_docstr: Tests initialization and instance methods of the ``Dataset`` class.
docstr: Test that attribute info can be set and accessed
  on a dataset attribute.
docstr_tok: ["Test","that","attribute","info","can","be","set","and","accessed","on","a","dataset","attribute","."]
code: def test_attribute_info(self):
      """Test that attribute info can be set and accessed
      on a dataset attribute."""
  
      dset = Dataset(x=1, y=attribute(3, doc="y Documentation"))
  
      dset.attr_info["x"].doc = "x Documentation"
  
      assert dset.attr_info["x"].doc == "x Documentation"
      assert dset.attr_info["y"].doc == "y Documentation"
  
imports: from numbers import Number
  from pathlib import Path
  from typing import ClassVar, Dict
  import numpy
  import pytest
  from pennylane.data import AttributeInfo, Dataset, DatasetJSON, DatasetNotWriteableError, DatasetScalar, attribute, field
  from pennylane.data.base.dataset import UNSET, _init_arg
  from pennylane.data.base.hdf5 import open_group
label_desc: Use image node_id 20 for calling the TestDataset obj's underlying member method code with example usage: obj.test_attribute_info() without return types