code: def test_lstsqr(A, solver):
      x, *_ = getattr(spla, solver)(A, [1, 2, 3])
      npt.assert_allclose(A @ x, [1, 2, 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 28 for calling a global function with example usage: test_lstsqr(A, solver) without return types