      XMLRenderer, JSONPRenderer, BrowsableAPIRenderer
  from rest_framework.parsers import YAMLParser, XMLParser
  from rest_framework.settings import api_settings
  
  from StringIO import StringIO
  import datetime
  from decimal import Decimal
  
  
  DUMMYSTATUS = status.HTTP_200_OK
 
</s> remove from StringIO import StringIO
 </s> add from rest_framework.compat import StringIO </s> remove from StringIO import StringIO
 </s> add from rest_framework.compat import StringIO </s> remove import StringIO
 </s> add from rest_framework.compat import StringIO
 </s> remove from django.utils.encoding import smart_unicode
 </s> add try:
    from django.utils.encoding import smart_text
except ImportError:
    from django.utils.encoding import smart_unicode as smart_text </s> remove     import StringIO
 </s> add     from six import StringIO
from rest_framework.compat import StringIO
      XMLRenderer, JSONPRenderer, BrowsableAPIRenderer
  from rest_framework.parsers import YAMLParser, XMLParser
  from rest_framework.settings import api_settings
  
from rest_framework.compat import StringIO
  import datetime
  from decimal import Decimal
  
  
  DUMMYSTATUS = status.HTTP_200_OK
keep keep keep keep replace keep keep keep keep keep
 First passing test under p3k \o/ 
rest_framework/tests/renderers.py