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 copied.
docstr_tok: ["Test","that","a","`","DatasetList","`","can","be","copied","."]
code: def test_copy(self, input_type, value):
      """Test that a `DatasetList` can be copied."""
      ds = DatasetList(input_type(value))
      ds_copy = ds.copy()
  
      assert ds_copy == value
      assert repr(ds_copy) == repr(value)
      assert len(ds_copy) == 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 11 for calling the TestList obj's underlying member method code with example usage: obj.test_copy(input_type, value) without return types