code: def test_log_with_back_slash_windows(wandb_init):
      run = wandb_init()
      wb_image = wandb.Image(np.zeros((28, 28)))
  
      # windows doesnt allow a backslash in media keys right now
      if platform.system() == "Windows":
          with pytest.raises(ValueError):
              run.log({r"train\image": wb_image})
      else:
          run.log({r"train\image": wb_image})
  
      run.finish()
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_data_types_full.py
imports: import platform
  from unittest import mock
  import numpy
  import pytest
  import wandb
label_desc: Use image node_id 7 for calling a global function with example usage: test_log_with_back_slash_windows(wandb_init) without return types