code: def test_bind_init(self, value):
      """Tests that a ``Datastring`` is correctly bind-initialzed."""
      bind = DatasetString(value).bind
  
      dset_str = DatasetString(bind=bind)
  
      assert dset_str.get_value() == value
  
imports: import pytest
  from pennylane.data.attributes.string import DatasetString
label_desc: Use image node_id 2 for calling the TestDatasetString obj's underlying member method code with example usage: obj.test_bind_init(value) without return types