code: def test_1d_resize(arg: int):
      den = np.array([1, -2, -3])
      res = coo_array(den)
      den.resize(arg, refcheck=False)
      res.resize(arg)
      assert res.shape == den.shape
      assert np.array_equal(res.toarray(), den)
  
imports: import numpy
  import pytest
  from scipy.sparse import coo_array
label_desc: Use image node_id 15 for calling a global function with example usage: test_1d_resize(arg) without return types