code: def test_value_out_of_bounds(self):
      # Max int
      with pytest.raises(StreamlitAPIException) as exc:
          value = JSNumber.MAX_SAFE_INTEGER + 1
          st.number_input("Label", value=value)
      self.assertEqual(
          "`value` (%s) must be <= (1 << 53) - 1" % str(value),
          str(exc.value),
      )
  
      # Min int
      with pytest.raises(StreamlitAPIException) as exc:
          value = JSNumber.MIN_SAFE_INTEGER - 1
          st.number_input("Label", value=value)
      self.assertEqual(
          "`value` (%s) must be >= -((1 << 53) - 1)" % str(value),
          str(exc.value),
      )
  
      # Max float
      with pytest.raises(StreamlitAPIException) as exc:
          value = 2e308
          st.number_input("Label", value=value)
      self.assertEqual(
          "`value` (%s) must be <= 1.797e+308" % str(value),
          str(exc.value),
      )
  
      # Min float
      with pytest.raises(StreamlitAPIException) as exc:
          value = -2e308
          st.number_input("Label", value=value)
      self.assertEqual(
          "`value` (%s) must be >= -1.797e+308" % str(value),
          str(exc.value),
      )
  
imports: from unittest.mock import MagicMock, patch
  import pytest
  from parameterized import parameterized
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from streamlit.js_number import JSNumber
  from streamlit.proto.Alert_pb2 import Alert
  from streamlit.proto.LabelVisibilityMessage_pb2 import LabelVisibilityMessage
  from streamlit.proto.NumberInput_pb2 import NumberInput
  from streamlit.proto.WidgetStates_pb2 import WidgetState
  from streamlit.testing.v1.app_test import AppTest
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 21 for calling the NumberInputTest obj's underlying member method code with example usage: obj.test_value_out_of_bounds() without return types