code: def test_ignored_param_warning(line_graph):
      walker = UniformRandomWalk(line_graph, n=2, length=3)
      with pytest.raises(
          ValueError, match="cannot specify both 'walker' and 'length'"
      ):
          UnsupervisedSampler(line_graph, walker=walker, length=5)
  
      with pytest.raises(
          ValueError,
          match="cannot specify both 'walker' and 'number_of_walks'",
      ):
          UnsupervisedSampler(
              line_graph, walker=walker, number_of_walks=5
          )
  
      with pytest.raises(
          ValueError, match="cannot specify both 'walker' and 'seed'"
      ):
          UnsupervisedSampler(line_graph, walker=walker, seed=1)
  
file_path: stellargraph/tests/data/test_unsupervised_sampler.py
imports: import pytest
  import numpy
  from collections import defaultdict
  from stellargraph.data.unsupervised_sampler import UnsupervisedSampler
  from stellargraph.data.explorer import UniformRandomWalk
  from ..test_utils.graphs import line_graph
label_desc: Use image node_id 6 for calling a global function with example usage: test_ignored_param_warning(line_graph) without return types