code: def test_InvalidSettings(self) -> None:
      with self.assertRaises(UserInputError) as cm:
          self._create_logit_parameter(
              lower=0.1, upper=0.9, log_scale=True
          )
      self.assertEqual(
          "Can't use both log and logit.", str(cm.exception)
      )
  
      str_exc = "Logit requires lower > 0 and upper < 1"
      with self.assertRaises(UserInputError) as cm:
          self._create_logit_parameter(lower=0.0, upper=0.5)
      self.assertEqual(str_exc, str(cm.exception))
      with self.assertRaises(UserInputError) as cm:
          self._create_logit_parameter(lower=0.3, upper=1.0)
      self.assertEqual(str_exc, str(cm.exception))
      with self.assertRaises(UserInputError) as cm:
          self._create_logit_parameter(lower=0.5, upper=10.0)
      self.assertEqual(str_exc, str(cm.exception))
  
file_path: Ax/ax/modelbridge/transforms/tests/test_logit_transform.py
imports: from copy import deepcopy
  from ax.core.observation import ObservationFeatures
  from ax.core.parameter import ChoiceParameter, ParameterType, RangeParameter
  from ax.core.search_space import SearchSpace
  from ax.exceptions.core import UnsupportedError, UserInputError
  from ax.modelbridge.transforms.logit import Logit
  from ax.utils.common.testutils import TestCase
  from ax.utils.testing.core_stubs import get_robust_search_space
  from scipy.special import expit, logit
label_desc: Use image node_id 5 for calling the LogitTransformTest obj's underlying member method code with example usage: obj.test_InvalidSettings() without return types