code: def test_write_tmp_imgs_default(
      monkeypatch, tmp_path, img_3d_mni, create_files, use_wildcards
  ):
      """Write imgs to default location."""
      monkeypatch.chdir(tmp_path)
  
      write_imgs_to_path(
          img_3d_mni,
          create_files=create_files,
          use_wildcards=use_wildcards,
      )
  
file_path: nilearn/nilearn/_utils/tests/test_testing.py
imports: import warnings
  import nibabel
  import numpy
  import pytest
  from nilearn._utils.testing import assert_memory_less_than, check_deprecation, with_memory_profiler, write_imgs_to_path
label_desc: Use image node_id 6 for calling a global function with example usage: test_write_tmp_imgs_default(monkeypatch, tmp_path, img_3d_mni, create_files, use_wildcards) without return types