code: def test_tensorflow_log_error(assets_path):
      summary_pb_filename = assets_path("wandb_tensorflow_summary.pb")
      summary_pb = open(summary_pb_filename, "rb").read()
  
      with pytest.raises(
          wandb.Error,
          match=r"You must call `wandb.init\(\)` before calling `wandb.tensorflow.log`",
      ):
          wandb.tensorboard.log(summary_pb)
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_wandb_tensorflow.py
imports: import os
  import platform
  import pytest
  import tensorboard.summary.v1
  import tensorflow
  import wandb
  from tensorboard.plugins.pr_curve import summary
  from wandb.errors import term
label_desc: Use image node_id 5 for calling a global function with example usage: test_tensorflow_log_error(assets_path) without return types