code: def test_frequency_with_engine_distributed_with_every(
      distributed_context_single_node_gloo,
  ):
      _test_frequency_with_engine(
          workers=idist.get_world_size(), every=1
      )
      _test_frequency_with_engine(
          workers=idist.get_world_size(), every=10
      )
  
file_path: ignite/tests/ignite/metrics/test_frequency.py
imports: import os
  import sys
  import time
  import pytest
  import torch
  import ignite.distributed
  from ignite.engine import Engine, Events
  from ignite.metrics import Frequency
label_desc: Use image node_id 6 for calling a global function with example usage: test_frequency_with_engine_distributed_with_every(distributed_context_single_node_gloo) without return types