code: def test_invalid_pct2():
      with pytest.raises(ValueError):
          test = StaticSelection(pct_classifiers=1.2)
          test.fit(np.random.rand(10, 2), np.ones(10))
  
imports: import numpy
  import pytest
  from sklearn.datasets import make_classification
  from sklearn.ensemble import AdaBoostClassifier
  from sklearn.exceptions import NotFittedError
  from sklearn.metrics import log_loss
  from sklearn.utils.estimator_checks import check_estimator
  from deslib.static.static_selection import StaticSelection
label_desc: Use image node_id 7 for calling a global function with example usage: test_invalid_pct2() without return types