docstr: Test that NumberInput.type is set to the proper
  NumberInput.DataType value
docstr_tok: ["Test","that","NumberInput.type","is","set","to","the","proper","NumberInput.DataType","value"]
code: def test_data_type(self):
      """Test that NumberInput.type is set to the proper
      NumberInput.DataType value
      """
      st.number_input("Label", value=0)
      c = self.get_delta_from_queue().new_element.number_input
      self.assertEqual(NumberInput.INT, c.data_type)
  
      st.number_input("Label", value=0.5)
      c = self.get_delta_from_queue().new_element.number_input
      self.assertEqual(NumberInput.FLOAT, c.data_type)
  
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 1 for calling the NumberInputTest obj's underlying member method code with example usage: obj.test_data_type() without return types