docstr: Assert ftol_iter type and value
docstr_tok: ["Assert","ftol_iter","type","and","value"]
code: def test_ftol_iter_assertion(self, optimizer):
      """Assert ftol_iter type and value"""
      with pytest.raises(AssertionError):
          optm, params = optimizer
          params["ftol_iter"] = 0
          opt = optm(**params)
  
file_path: pyswarms/tests/optimizers/test_tolerance.py
imports: import pytest
  import random
  import numpy
  from pyswarms.backend.topology import Star
  from pyswarms.single import GlobalBestPSO, LocalBestPSO, GeneralOptimizerPSO
label_desc: Use image node_id 4 for calling the TestToleranceOptions obj's underlying member method code with example usage: obj.test_ftol_iter_assertion(optimizer) without return types