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