code: def test_nonzero_execution(setup):
      data = np.array([[1, 0, 0], [0, 2, 0], [1, 1, 0]])
      x = tensor(data, chunk_size=2)
      t = hstack(nonzero(x))
  
      res = t.execute().fetch()
      expected = np.hstack(np.nonzero(data))
  
      np.testing.assert_array_equal(res, expected)
  
      t = hstack((x > 1).nonzero())
  
      res = t.execute().fetch()
      expected = np.hstack(np.nonzero(data > 1))
  
      np.testing.assert_array_equal(res, expected)
  
imports: import numpy
  import scipy.sparse
  import pytest
  from ....config import options
  from ...None import mod, stack, hstack
  from ...datasource import tensor, arange, zeros
  from ..None import take, compress, extract, choose, unravel_index, nonzero, flatnonzero, fill_diagonal
label_desc: Use image node_id 14 for calling a global function with example usage: test_nonzero_execution(setup) without return types