                  ranged_value_field.run_validators(max_backend_value + 1)
  
      def test_types(self):
          instance = self.model(value=0)
          self.assertIsInstance(instance.value, six.integer_types)
          instance.save()
          self.assertIsInstance(instance.value, six.integer_types)
          instance = self.model.objects.get()
          self.assertIsInstance(instance.value, six.integer_types)
  
 
</s> remove         self.assertIsInstance(instance.value, six.integer_types)
 </s> add         self.assertIsInstance(instance.value, int) </s> remove         self.assertIsInstance(instance.value, six.integer_types)
 </s> add         self.assertIsInstance(instance.value, int) </s> remove         if isinstance(srid, six.integer_types) or srid is None:
 </s> add         if isinstance(srid, int) or srid is None: </s> remove             'writer': six.text_type(self.w_woodward.pk),
 </s> add             'writer': str(self.w_woodward.pk), </s> remove _PROTECTED_TYPES = six.integer_types + (
    type(None), float, Decimal, datetime.datetime, datetime.date, datetime.time
 </s> add _PROTECTED_TYPES = (
    type(None), int, float, Decimal, datetime.datetime, datetime.date, datetime.time,
        self.assertIsInstance(instance.value, int)
                  ranged_value_field.run_validators(max_backend_value + 1)
  
      def test_types(self):
          instance = self.model(value=0)
        self.assertIsInstance(instance.value, int)
          instance.save()
          self.assertIsInstance(instance.value, six.integer_types)
          instance = self.model.objects.get()
          self.assertIsInstance(instance.value, six.integer_types)
  
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed six.<various>_types usage

Thanks Tim Graham and Simon Charette for the reviews. 
tests/model_fields/test_integerfield.py