code: def test_media_in_config(runner, wandb_init, test_settings):
      with runner.isolated_filesystem():
          run = wandb_init(settings=test_settings())
          with pytest.raises(ValueError):
              run.config["image"] = wandb.Image(
                  np.random.randint(0, 255, (100, 100, 3))
              )
          run.finish()
  
imports: import json
  import os
  import pickle
  import sys
  import numpy
  import pytest
  import wandb
  from wandb import wandb_sdk
  from wandb.errors import UsageError
label_desc: Use image node_id 7 for calling a global function with example usage: test_media_in_config(runner, wandb_init, test_settings) without return types