code: def test_parameter_checking(self):
      g = create_test_weighted_graph()
      biasedrw = BiasedRandomWalk(g)
  
      nodes = ["0"]
      n = 1
      length = 2
      p = 1.0
      q = 1.0
      seed = None
  
      with pytest.raises(ValueError):
          # weighted must be a Boolean.
          biasedrw.run(
              nodes=nodes,
              n=n,
              p=p,
              q=q,
              length=length,
              seed=seed,
              weighted="unknown",
          )
  
imports: import numpy
  import pandas
  import pytest
  import networkx
  from stellargraph.data.explorer import BiasedRandomWalk
  from stellargraph.core.graph import StellarGraph
  from ..test_utils.graphs import create_test_graph, example_graph_random
label_desc: Use image node_id 1 for calling the TestBiasedWeightedRandomWalk obj's underlying member method code with example usage: obj.test_parameter_checking() without return types