code: def test_WatchYourStep_bad_init(barbell):
      generator = AdjacencyPowerGenerator(barbell, num_powers=5)
  
      with pytest.raises(
          TypeError, match="num_walks: expected.* found float"
      ):
          wys = WatchYourStep(generator, num_walks=10.0)
  
      with pytest.raises(
          ValueError, match="num_walks: expected.* found 0"
      ):
          wys = WatchYourStep(generator, num_walks=0)
  
      with pytest.raises(
          TypeError, match="embedding_dimension: expected.* found float"
      ):
          wys = WatchYourStep(generator, embedding_dimension=10.0)
  
      with pytest.raises(
          ValueError, match="embedding_dimension: expected.* found 1"
      ):
          wys = WatchYourStep(generator, embedding_dimension=1)
  
file_path: stellargraph/tests/layer/test_watch_your_step.py
imports: from stellargraph.layer import AttentiveWalk, WatchYourStep
  import numpy
  from ..test_utils.graphs import barbell
  from stellargraph.mapper import AdjacencyPowerGenerator
  from stellargraph.losses import graph_log_likelihood
  import pytest
  from tensorflow.keras import Model
  from ..None import test_utils
label_desc: Use image node_id 4 for calling a global function with example usage: test_WatchYourStep_bad_init(barbell) without return types