class_docstr: Tests for :class:`pennylane.data.mapper.AttributeTypeMapper`.
class_docstr_tok: ["Tests","for",":","class",":","`","pennylane.data.mapper.AttributeTypeMapper","`","."]
docstr: Test that info() returns the attribute info from bind.
docstr_tok: ["Test","that","info","(",")","returns","the","attribute","info","from","bind","."]
code: def test_info(self):
      """Test that info() returns the attribute info from bind."""
      bind = create_group()
  
      info = AttributeInfo(bind.attrs)
      info.doc = "documentation"
  
      mapper = AttributeTypeMapper(bind)
  
      assert mapper.info == info
  
file_path: pennylane/tests/data/base/test_mapper.py
imports: from unittest.mock import MagicMock
  import pytest
  import pennylane.data.base.mapper
  from pennylane.data import AttributeInfo, Dataset, DatasetScalar
  from pennylane.data.base.hdf5 import create_group
  from pennylane.data.base.mapper import AttributeTypeMapper
label_desc: Use image node_id 1 for calling the TestMapper obj's underlying member method code with example usage: obj.test_info() without return types