code: def test_resume_never_failure(wandb_init):
      run = wandb_init(project="project")
      run_id = run.id
      run.finish()
  
      with pytest.raises(UsageError):
          wandb_init(resume="never", id=run_id, project="project")
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_wandb_init.py
imports: import json
  import os
  from unittest import mock
  import pytest
  from wandb.errors import CommError, UsageError
label_desc: Use image node_id 7 for calling a global function with example usage: test_resume_never_failure(wandb_init) without return types