          }
          self.expected = {
              'email': 'tom@example.com',
              'content': 'Happy new year!',
              'created': datetime.datetime(2012, 1, 1),
              'sub_comment': 'And Merry Christmas!'
          }
          self.person_data = {'name': 'dwight', 'age': 35}
          self.person = Person(**self.person_data)
          self.person.save()
 
</s> remove         self.format = kwargs.pop('format', settings.DATE_INPUT_FORMATS)
 </s> add         self.input_formats = kwargs.pop('input_formats', api_settings.DATE_INPUT_FORMATS)
        self.output_format = kwargs.pop('output_format', api_settings.DATE_OUTPUT_FORMAT) </s> remove         self.format = kwargs.pop('format', settings.TIME_INPUT_FORMATS)
 </s> add         self.input_formats = kwargs.pop('input_formats', api_settings.TIME_INPUT_FORMATS)
        self.output_format = kwargs.pop('output_format', api_settings.TIME_OUTPUT_FORMAT) </s> remove         self.format = kwargs.pop('format', settings.DATETIME_INPUT_FORMATS)
 </s> add         self.input_formats = kwargs.pop('input_formats', api_settings.DATETIME_INPUT_FORMATS)
        self.output_format = kwargs.pop('output_format', api_settings.DATETIME_OUTPUT_FORMAT) </s> remove         self.assertEqual(datetime.datetime(1984, 7, 31, 4, 31), result)
 </s> add         self.assertEqual(datetime.datetime(1984, 1, 1, 4, 59), result)
            'created': '2012-01-01T00:00:00',
          }
          self.expected = {
              'email': 'tom@example.com',
              'content': 'Happy new year!',
            'created': '2012-01-01T00:00:00',
              'sub_comment': 'And Merry Christmas!'
          }
          self.person_data = {'name': 'dwight', 'age': 35}
          self.person = Person(**self.person_data)
          self.person.save()
keep keep keep keep replace keep keep keep keep keep
 Add drf settings + output format + testcases 
rest_framework/tests/serializer.py