code: def test_UniformGeneratorBadBounds(self) -> None:
      generator = UniformGenerator()
      with self.assertRaises(ValueError):
          generated_points, weights = generator.gen(
              n=1, bounds=[(-1, 1)], rounding_func=lambda x: x
          )
  
file_path: Ax/ax/models/tests/test_uniform.py
imports: import numpy
  from ax.exceptions.core import SearchSpaceExhausted
  from ax.models.random.uniform import UniformGenerator
  from ax.utils.common.testutils import TestCase
label_desc: Use image node_id 9 for calling the UniformGeneratorTest obj's underlying member method code with example usage: obj.test_UniformGeneratorBadBounds() without return types