code: def pytest_report_teststatus(report, config):
      outcome = yield
      if report.when == "call":
          try:
              import psutil
          except ImportError:
              return
  
          (*rest, result) = outcome.get_result()
          mem = psutil.virtual_memory()
          mem_used = mem.used / 1024**3
          mem_total = mem.total / 1024**3
  
          disk = psutil.disk_usage("/")
          disk_used = disk.used / 1024**3
          disk_total = disk.total / 1024**3
          outcome.force_result(
              (
                  *rest,
                  (
                      f"{result} | "
                      f"MEM {mem_used:.1f}/{mem_total:.1f} GB | "
                      f"DISK {disk_used:.1f}/{disk_total:.1f} GB"
                  ),
              )
          )
  
imports: import json
  import os
  import posixpath
  import shutil
  import subprocess
  import sys
  import click
  import pytest
  from mlflow.environment_variables import _MLFLOW_TESTING, MLFLOW_TRACKING_URI
  from mlflow.version import VERSION
  from tests.helper_functions import get_safe_port
label_desc: Use image node_id 8 for calling a global function with example usage: pytest_report_teststatus(report, config) without return types