code: def test_run_log_mp_warn(mock_run, test_settings, capsys):
      test_settings = test_settings()
      with mock.patch.dict(
          "os.environ", {"WANDB_DISABLE_SERVICE": "true"}
      ):
          test_settings._apply_env_vars(os.environ)
          run = mock_run(settings=test_settings)
          run._init_pid = os.getpid()
          run._init_pid += 1
          run.log(dict(this=1))
      _, stderr = capsys.readouterr()
      assert (
          f"`log` ignored (called from pid={os.getpid()}, "
          f"`init` called from pid={run._init_pid})" in stderr
      )
  
imports: import copy
  import os
  import platform
  import unittest.mock
  import numpy
  import pytest
  import wandb
  import wandb.errors
  from wandb import wandb_sdk
label_desc: Use image node_id 13 for calling a global function with example usage: test_run_log_mp_warn(mock_run, test_settings, capsys) without return types