docstr: Test that it can be called with None as value and
  will be interpreted as integer if min_value is set to int.
docstr_tok: ["Test","that","it","can","be","called","with","None","as","value","and","will","be","interpreted","as","integer","if","min_value","is","set","to","int","."]
code: def test_none_value_with_int_min(self):
      """Test that it can be called with None as value and
      will be interpreted as integer if min_value is set to int."""
      st.number_input("the label", value=None, min_value=1)
  
      c = self.get_delta_from_queue().new_element.number_input
      self.assertEqual(c.label, "the label")
      # If a proto property is null is not determined by this value,
      # but by the check via the HasField method:
      self.assertEqual(c.default, 0.0)
      self.assertEqual(c.HasField("default"), False)
      self.assertEqual(c.has_min, True)
      self.assertEqual(c.min, 1)
      self.assertEqual(c.data_type, NumberInput.INT)
  
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 7 for calling the NumberInputTest obj's underlying member method code with example usage: obj.test_none_value_with_int_min() without return types