  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
  from rest_framework.settings import api_settings
  from rest_framework.test import APIRequestFactory
  from collections import MutableMapping
  import datetime
  import json
 
</s> remove from rest_framework.compat import yaml, etree, StringIO, BytesIO
 </s> add from rest_framework.compat import yaml, BytesIO </s> remove import datetime
 </s> add  </s> remove from django.utils import six, unittest
 </s> add from django.utils import six </s> remove from rest_framework.compat import (
    SHORT_SEPARATORS, LONG_SEPARATORS, StringIO, smart_text, yaml
)
 </s> add from rest_framework.compat import SHORT_SEPARATORS, LONG_SEPARATORS, yaml </s> remove from django.utils import unittest
from rest_framework.compat import etree
 </s> add from rest_framework.compat import StringIO
    JSONPRenderer, BrowsableAPIRenderer
from rest_framework.parsers import YAMLParser
  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, \
    JSONPRenderer, BrowsableAPIRenderer
from rest_framework.parsers import YAMLParser
    JSONPRenderer, BrowsableAPIRenderer
from rest_framework.parsers import YAMLParser
  from rest_framework.settings import api_settings
  from rest_framework.test import APIRequestFactory
  from collections import MutableMapping
  import datetime
  import json
keep keep keep keep replace replace keep keep keep keep keep
 Remove XML support from core 
tests/test_renderers.py