code: def test_err_k_largest_nonpositive():
      with assert_raises(
          RuntimeError, glob="``k_largest`` must be at least 1; got -1"
      ):
          _test_err_args(k_largest=-1)
      with assert_raises(
          RuntimeError, glob="``k_largest`` must be at least 1; got 0"
      ):
          _test_err_args(k_largest=0)
  
imports: from nose_utils import assert_raises
  import nvidia.dali
  import nvidia.dali.fn
  import nvidia.dali.ops
  import numpy
  import scipy.ndimage
  import scipy.ndimage.measurements
  import random
  from test_utils import check_batch, np_type_to_dali
  from nose.tools import nottest
  from nose.plugins.attrib import attr
label_desc: Use image node_id 33 for calling a global function with example usage: test_err_k_largest_nonpositive() without return types