  from rest_framework.compat import timezone
  from rest_framework.compat import BytesIO
  from rest_framework.compat import six
  from rest_framework.compat import smart_text
  from rest_framework.compat import parse_time
  from rest_framework.utils.dates import get_readable_date_format
  
  
  def is_simple_callable(obj):
      """
 
</s> remove from rest_framework.compat import parse_date, parse_datetime
 </s> add  </s> remove import django
 </s> add  </s> remove from django.utils import unittest
 </s> add  </s> remove     def test_valid_custom_time_input_formats(self):
        serializer = TimeObjectCustomFormatSerializer(data={'time': '04 -- 31'})
        self.assertTrue(serializer.is_valid())
 </s> add     def test_to_native_custom_format(self):
        """
        Make sure to_native() returns correct custom format.
        """
        f = serializers.DateTimeField(output_format="%Y - %H:%M")
from rest_framework.settings import api_settings
  from rest_framework.compat import timezone
  from rest_framework.compat import BytesIO
  from rest_framework.compat import six
  from rest_framework.compat import smart_text
from rest_framework.settings import api_settings
  from rest_framework.utils.dates import get_readable_date_format
  
  
  def is_simple_callable(obj):
      """
keep keep keep keep replace keep keep keep keep keep
 Add drf settings + output format + testcases 
rest_framework/fields.py