code: def test_double_log(mock_run):
      run = mock_run()
      net = nn.Linear(10, 2)
      run.watch(net, log_graph=True)
      with pytest.raises(ValueError):
          run.watch(net, log_graph=True)
  
file_path: wandb/tests/pytest_tests/unit_tests/test_torch.py
imports: import pytest
  import torch
  import torch.nn
  import wandb
label_desc: Use image node_id 4 for calling a global function with example usage: test_double_log(mock_run) without return types