          for field in (self.required_field, self.optional_field):
              self.assertEqual(humanize_field(field)['label'], field.label)
  
  
  class Form(forms.Form):
      field1 = forms.CharField(max_length=3, label='field one')
      field2 = forms.CharField(label='field two')
  
  
  class HumanizedSerializer(TestCase):
      def setUp(self):
          self.serializer = TimestampedModelSerializer()
 
</s> remove             self.assertEqual(humanize_field(field)['label'], field.label)
 </s> add             self.assertEqual(field.humanized['label'], field.label) </s> remove         self.serializer = TimestampedModelSerializer()
 </s> add         self.serializer = HumanizableSerializer() </s> remove         self.assertEqual(humanize_field(self.optional_field)['required'],
                         False)
 </s> add         self.assertEqual(self.optional_field.humanized['required'], False) </s> remove         humanized = humanize_form_fields(Form())
 </s> add         humanized = self.serializer.humanized
class HumanizableSerializer(Serializer):
    field1 = CharField(3, required=True)
    field2 = CharField(10, required=False)
          for field in (self.required_field, self.optional_field):
              self.assertEqual(humanize_field(field)['label'], field.label)
  
  
class HumanizableSerializer(Serializer):
    field1 = CharField(3, required=True)
    field2 = CharField(10, required=False)
class HumanizableSerializer(Serializer):
    field1 = CharField(3, required=True)
    field2 = CharField(10, required=False)
class HumanizableSerializer(Serializer):
    field1 = CharField(3, required=True)
    field2 = CharField(10, required=False)
  
  
  class HumanizedSerializer(TestCase):
      def setUp(self):
          self.serializer = TimestampedModelSerializer()
keep keep keep keep replace replace replace keep keep keep keep keep
 simplified, moved field humanizing to Field. broken tests 
rest_framework/tests/fields.py