code: def test_abo_params_setter():
      new_abo = abo.ABO()
  
      try:
          new_abo.sunspot_ratio = "a"
      except:
          new_abo.sunspot_ratio = 0.9
  
      try:
          new_abo.sunspot_ratio = -1
      except:
          new_abo.sunspot_ratio = 0.9
  
      assert new_abo.sunspot_ratio == 0.9
  
      try:
          new_abo.a = "b"
      except:
          new_abo.a = 2.0
  
      try:
          new_abo.a = -1
      except:
          new_abo.a = 2.0
  
      assert new_abo.a == 2.0
  
imports: import numpy
  from opytimizer.optimizers.swarm import abo
  from opytimizer.spaces import search
label_desc: Use image node_id 2 for calling a global function with example usage: test_abo_params_setter() without return types