code: def test_too_many_components(setup):
      for n_components in (n_features, n_features + 1):
          tsvd = TruncatedSVD(
              n_components=n_components, algorithm="randomized"
          )
          with pytest.raises(ValueError):
              tsvd.fit(X)
  
file_path: mars/mars/learn/decomposition/tests/test_truncated_svd.py
imports: import numpy
  import pytest
  import scipy.sparse
  from sklearn.utils import check_random_state
  from sklearn.utils._testing import assert_array_almost_equal, assert_array_less
  from ....None import tensor
  from ..None import TruncatedSVD
label_desc: Use image node_id 2 for calling a global function with example usage: test_too_many_components(setup) without return types