code: def test_onenormest(B):
      C = spla.onenormest(B)
      npt.assert_allclose(C, np.linalg.norm(B.todense(), 1))
  
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 23 for calling a global function with example usage: test_onenormest(B) without return types