  from django.conf.urls import patterns, url, include
  from django.core.cache import cache
  from django.db import models
  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
 
</s> remove from rest_framework.compat import yaml, etree, StringIO, BytesIO
 </s> add from rest_framework.compat import yaml, BytesIO </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 unittest
from rest_framework.compat import etree
 </s> add from rest_framework.compat import StringIO </s> remove from rest_framework.compat import etree, yaml, force_text, urlparse
 </s> add from rest_framework.compat import yaml, force_text, urlparse </s> remove from rest_framework.compat import StringIO
 </s> add 
from django.utils import six
  from django.conf.urls import patterns, url, include
  from django.core.cache import cache
  from django.db import models
  from django.test import TestCase
from django.utils import six
  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
keep keep keep keep replace keep keep keep keep keep
 Remove XML support from core 
tests/test_renderers.py