code: def test_uniformint_arguments(arguments):
      """
      Test whether uniformint can accept both positional and keyword arguments.
      Related to PR #704.
      """
      if isinstance(arguments, list):
          space = hp.uniformint(*arguments)
      if isinstance(arguments, dict):
          space = hp.uniformint(**arguments)
      rng = np.random.default_rng(np.random.PCG64(123))
      values = [sample(space, rng=rng) for _ in range(10)]
      assert values == [7, 1, 2, 2, 2, 8, 9, 3, 8, 9]
  
imports: from hyperopt import pyll_utils
  from hyperopt.pyll_utils import EQ
  from hyperopt.pyll_utils import expr_to_config
  from hyperopt import hp
  from hyperopt.pyll import as_apply
  from hyperopt.pyll.stochastic import sample
  import unittest
  import numpy
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_uniformint_arguments(arguments) without return types