  from django.test import TestCase
  from django.utils import six, unittest
  from django.utils.translation import ugettext_lazy as _
  from rest_framework import status, permissions
  from rest_framework.compat import yaml, etree, StringIO, BytesIO
  from rest_framework.response import Response
  from rest_framework.views import APIView
  from rest_framework.renderers import BaseRenderer, JSONRenderer, YAMLRenderer, \
      XMLRenderer, JSONPRenderer, BrowsableAPIRenderer
  from rest_framework.parsers import YAMLParser, XMLParser
 
</s> remove     XMLRenderer, JSONPRenderer, BrowsableAPIRenderer
from rest_framework.parsers import YAMLParser, XMLParser
 </s> add     JSONPRenderer, BrowsableAPIRenderer
from rest_framework.parsers import YAMLParser </s> remove from django.utils import six, unittest
 </s> add from django.utils import six </s> remove from django.utils import unittest
from rest_framework.compat import etree
 </s> add from rest_framework.compat import StringIO </s> remove from rest_framework.parsers import XMLParser
import datetime
 </s> add  </s> remove from rest_framework.compat import etree, yaml, force_text, urlparse
 </s> add from rest_framework.compat import yaml, force_text, urlparse
from rest_framework.compat import yaml, BytesIO
  from django.test import TestCase
  from django.utils import six, unittest
  from django.utils.translation import ugettext_lazy as _
  from rest_framework import status, permissions
from rest_framework.compat import yaml, BytesIO
  from rest_framework.response import Response
  from rest_framework.views import APIView
  from rest_framework.renderers import BaseRenderer, JSONRenderer, YAMLRenderer, \
      XMLRenderer, JSONPRenderer, BrowsableAPIRenderer
  from rest_framework.parsers import YAMLParser, XMLParser
keep keep keep keep replace keep keep keep keep keep
 Remove XML support from core 
tests/test_renderers.py