code: def test_with_max_bound_smaller_than_min_bounded_raises_valueerror(
      self,
  ) -> None:
      with pytest.raises(ValueError):
          Range1d(1, 2, bounds=(1, 0))
      with pytest.raises(ValueError):
          Range1d(1, 2, bounds=[1, 0])
  
imports: from __future__ import annotations
  import pytest
  import datetime
  from math import isnan
  from unittest import mock
  from bokeh.core.validation import check_integrity, process_validation_issues
  from _util_models import check_properties_existence
  from bokeh.models import Range1d, DataRange1d, FactorRange
label_desc: Use image node_id 11 for calling the Test_Range1d obj's underlying member method code with example usage: obj.test_with_max_bound_smaller_than_min_bounded_raises_valueerror() without return types