code: def test__global_path_None(user, test_settings):  # noqa: N802
      # test that we don't crash if we can't find a global path to write settings to
      with mock.patch(
          "wandb.old.settings.Settings._global_path", return_value=None
      ):
          run = wandb.init(settings=test_settings())
          run.finish()
          assert wandb.old.settings.Settings._global_path() is None
          assert run is not None
  
label_desc: Use image node_id 1 for calling a global function with example usage: test__global_path_None(user, test_settings) without return types