code: def test_no_dirs(wandb_init):
      run = wandb_init(settings={"mode": "disabled"})
      run.log({"acc": 0.9})
      run.finish()
      assert not os.path.isdir("wandb")
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_mode_disabled_full.py
imports: import os
  from unittest import mock
  import pytest
  import wandb
label_desc: Use image node_id 7 for calling a global function with example usage: test_no_dirs(wandb_init) without return types