code: def test_compress():
      a = np.array([[1, 2], [3, 4], [5, 6]])
  
      with pytest.raises(TypeError):
          compress([0, 1], a, axis=0, out=1)
  
      with pytest.raises(TypeError):
          compress(
              [0, 1],
              array([[1, 2], [3, 4], [5, 6]], dtype="i8"),
              axis=0,
              out=empty((1, 2), dtype="f8"),
          )
  
imports: import numpy
  import pytest
  from ....config import option_context
  from ....core import tile
  from ...base.broadcast_to import TensorBroadcastTo
  from ...datasource import ones, tensor, array, empty
  from ...datasource.ones import TensorOnes
  from ...merge.concatenate import TensorConcatenate
  from ..None import choose, unravel_index, nonzero, compress, fill_diagonal
  from ..setitem import TensorIndexSetValue
label_desc: Use image node_id 14 for calling a global function with example usage: test_compress() without return types