docstr: Test silent run
docstr_tok: ["Test","silent","run"]
code: def test_silent(self, optimizer, capsys):
      """Test silent run"""
      optm, params = optimizer
      opt = optm(**params)
      opt.optimize(fx.sphere, iters=100, verbose=False)
      out = capsys.readouterr()
      assert out.err == ""
      assert out.out == ""
  
file_path: pyswarms/tests/optimizers/test_verbose.py
imports: import re
  import pytest
  import random
  import numpy
  from pyswarms.backend.topology import Star
  from pyswarms.utils.functions import single_obj
  from pyswarms.single import GlobalBestPSO, LocalBestPSO, GeneralOptimizerPSO
label_desc: Use image node_id 3 for calling the TestToleranceOptions obj's underlying member method code with example usage: obj.test_silent(optimizer, capsys) without return types