code: def test_mvpa_params_setter():
      new_mvpa = mvpa.MVPA()
  
      try:
          new_mvpa.n_teams = "a"
      except:
          new_mvpa.n_teams = 4
  
      assert new_mvpa.n_teams == 4
  
      try:
          new_mvpa.n_teams = -1
      except:
          new_mvpa.n_teams = 4
  
      assert new_mvpa.n_teams == 4
  
file_path: opytimizer/tests/opytimizer/optimizers/social/test_mvpa.py
imports: import numpy
  from opytimizer.optimizers.social import mvpa
  from opytimizer.spaces import search
  from opytimizer.utils import constant
label_desc: Use image node_id 2 for calling a global function with example usage: test_mvpa_params_setter() without return types