code: def test_SobolGeneratorBadBounds(self) -> None:
      generator = SobolGenerator()
      with self.assertRaisesRegex(
          ValueError, "This generator operates on"
      ):
          generated_points, weights = generator.gen(
              n=1,
              bounds=[(-1, 1)],
              rounding_func=lambda x: x,
          )
  
imports: from typing import List, Tuple
  from unittest import mock
  import numpy
  from ax.exceptions.core import SearchSpaceExhausted
  from ax.models.random.sobol import SobolGenerator
  from ax.utils.common.testutils import TestCase
  from botorch.utils.sampling import sample_polytope
label_desc: Use image node_id 12 for calling the SobolGeneratorTest obj's underlying member method code with example usage: obj.test_SobolGeneratorBadBounds() without return types