code: def test_value_error_on_check():
      trans = (
          LogEndogTransformer()
      )  # could be anything, just need an instance
      with pytest.raises(ValueError) as ve:
          trans._check_y_X(None, None)
      assert "non-None" in pytest_error_str(ve)
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_value_error_on_check() without return types