      documented_range = (-2147483648, 2147483647)
  
      def test_documented_range(self):
          """
          Ensure that values within the documented safe range pass validation,
          can be saved and retrieved without corruption.
          """
 
</s> remove         field = self.model._meta.get_field('value')
        internal_type = field.get_internal_type()
        min_value, max_value = connection.ops.integer_field_range(internal_type)
 </s> add         min_value, max_value = self.backend_range </s> remove         PositiveSmallIntegerField=(0, 4294967295),
        PositiveIntegerField=(0, 18446744073709551615),
 </s> add         PositiveSmallIntegerField=(0, 65535),
        PositiveIntegerField=(0, 4294967295),
    @property
    def backend_range(self):
        field = self.model._meta.get_field('value')
        internal_type = field.get_internal_type()
        return connection.ops.integer_field_range(internal_type)

      documented_range = (-2147483648, 2147483647)
  
    @property
    def backend_range(self):
        field = self.model._meta.get_field('value')
        internal_type = field.get_internal_type()
        return connection.ops.integer_field_range(internal_type)

      def test_documented_range(self):
          """
          Ensure that values within the documented safe range pass validation,
          can be saved and retrieved without corruption.
          """
keep add keep keep keep keep keep
 Fixed #25767 -- Fixed data truncation possibility with Positive(Small)IntegerField on MySQL. 
tests/model_fields/tests.py