code: def test_stop_by_iter_num(logs):
      assert stop_by_iter_num(logs, iter_limit=1)
      assert not stop_by_iter_num(logs, iter_limit=10)
  
file_path: fklearn/tests/tuning/test_stoppers.py
imports: import pytest
  from fklearn.metrics.pd_extractors import evaluator_extractor
  from fklearn.tuning.stoppers import stop_by_iter_num, stop_by_no_improvement, stop_by_num_features, stop_by_no_improvement_parallel, stop_by_num_features_parallel
  from tests import LOGS, PARALLEL_LOGS
label_desc: Use image node_id 5 for calling a global function with example usage: test_stop_by_iter_num(logs) without return types