class_docstr: Tests initialization and instance methods of the ``Dataset`` class.
docstr: Test that Dataset can be bind-initialized from a HDF5 group that
  was initialized by a subclass of Dataset.
docstr_tok: ["Test","that","Dataset","can","be","bind-initialized","from","a","HDF5","group","that","was","initialized","by","a","subclass","of","Dataset","."]
code: def test_subclass_bind_init(self):
      """Test that Dataset can be bind-initialized from a HDF5 group that
      was initialized by a subclass of Dataset."""
  
      bind = MyDataset(x="1", y="2", description="test").bind
  
      ds = Dataset(bind)
  
      assert ds.data_name == "my_dataset"
      assert ds.identifiers == {"x": "1", "y": "2"}
  
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 4 for calling the TestDataset obj's underlying member method code with example usage: obj.test_subclass_bind_init() without return types