  from django.contrib.auth.models import User
  from django.test import TestCase, Client
  from djangorestframework import status
  from djangorestframework.authentication import UserLoggedInAuthentication
  from djangorestframework.compat import RequestFactory
  from djangorestframework.mixins import RequestMixin
  from djangorestframework.parsers import FormParser, MultiPartParser, \
      PlainTextParser, JSONParser
  from djangorestframework.response import Response
  from djangorestframework.views import View
 
</s> remove     # def test_accessing_post_after_data_for_json(self):
    #     """Ensures request.POST can be accessed after request.DATA in json request"""
    #     from django.utils import simplejson as json
 </s> add     @unittest.skip('This test was disabled some time ago for some reason')
    def test_accessing_post_after_data_for_json(self):
        """Ensures request.POST can be accessed after request.DATA in json request"""
        from django.utils import simplejson as json </s> remove     #     self.assertEqual(view.DATA.items(), data.items())
    #     self.assertEqual(view.request.POST.items(), [])
 </s> add         self.assertEqual(view.DATA.items(), data.items())
        self.assertEqual(view.request.POST.items(), []) </s> remove     #     data = {'qwerty': 'uiop'}
    #     content = json.dumps(data)
    #     content_type = 'application/json'
 </s> add         data = {'qwerty': 'uiop'}
        content = json.dumps(data)
        content_type = 'application/json' </s> remove     #     view.request = self.req.post('/', content, content_type=content_type)
 </s> add         view.request = self.req.post('/', content, content_type=content_type) </s> remove     #     view = RequestMixin()
    #     view.parsers = (JSONParser,)
 </s> add         view = RequestMixin()
        view.parsers = (JSONParser,)
from djangorestframework.compat import RequestFactory, unittest
  from django.contrib.auth.models import User
  from django.test import TestCase, Client
  from djangorestframework import status
  from djangorestframework.authentication import UserLoggedInAuthentication
from djangorestframework.compat import RequestFactory, unittest
  from djangorestframework.mixins import RequestMixin
  from djangorestframework.parsers import FormParser, MultiPartParser, \
      PlainTextParser, JSONParser
  from djangorestframework.response import Response
  from djangorestframework.views import View
keep keep keep keep replace keep keep keep keep keep
 We can now use @unittests.skip 
djangorestframework/tests/content.py