code: def test_basic_integration_scheduler_report_args(
      client, tmp_path, report_args
  ):
      with memray_scheduler(tmp_path, report_args=report_args):
          pass
  
      if report_args:
          assert len(list(tmp_path.glob("*.html"))) == 1
      else:
          assert len(list(tmp_path.glob("*.html"))) == 0
          assert len(list(tmp_path.glob("*.memray"))) == 1
  
imports: from __future__ import annotations
  import pytest
  from distributed.diagnostics.memray import memray_scheduler, memray_workers
label_desc: Use image node_id 4 for calling a global function with example usage: test_basic_integration_scheduler_report_args(client, tmp_path, report_args) without return types