code: def test_svds(X):
      u, s, vh = spla.svds(X, k=3)
      u2, s2, vh2 = np.linalg.svd(X.todense())
      s = np.sort(s)
      s2 = np.sort(s2[:3])
      npt.assert_allclose(s, s2, atol=1e-3)
  
imports: import pytest
  import numpy
  import numpy.testing
  import scipy.sparse
  import scipy.sparse.linalg
  from scipy._lib._util import VisibleDeprecationWarning
label_desc: Use image node_id 31 for calling a global function with example usage: test_svds(X) without return types