class_docstr: Test bind and value initialization for ``DatasetList``, and test
  that indexing, slicing and delete behaviour matches the built in ``list``.
class_docstr_tok: ["Test","bind","and","value","initialization","for","``","DatasetList","``",",","and","test","that","indexing",",","slicing","and","delete","behaviour","matches","the","built","in","``","list","``","."]
docstr: Test that a DatasetList can be initialized from
  a list.
docstr_tok: ["Test","that","a","DatasetList","can","be","initialized","from","a","list","."]
code: def test_value_init(self, input_type, value):
      """Test that a DatasetList can be initialized from
      a list."""
  
      lst = DatasetList(input_type(value))
      assert lst == value
      assert repr(lst) == repr(value)
      assert len(lst) == len(value)
  
file_path: pennylane/tests/data/attributes/test_list.py
imports: from itertools import combinations
  import pytest
  from pennylane.data import DatasetList
label_desc: Use image node_id 2 for calling the TestList obj's underlying member method code with example usage: obj.test_value_init(input_type, value) without return types