code: def test_magics_cpu():
      env = os.environ.copy()
      env["CUDA_VISIBLE_DEVICES"] = ""
      sp_completed = subprocess.run(
          [sys.executable, LOCATION / "_magics_cpu_test.py"],
          capture_output=True,
          env=env,
      )
      assert sp_completed.stderr.decode() == ""
  
imports: import os
  import pathlib
  import subprocess
  import sys
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_magics_cpu() without return types