          """No response must be included in HEAD requests."""
          resp = self.client.head('/')
          self.assertEquals(resp.status_code, DUMMYSTATUS)
          self.assertEquals(resp['Content-Type'], RendererA.media_type)
          self.assertEquals(resp.content, '')
  
      def test_default_renderer_serializes_content_on_accept_any(self):
          """If the Accept header is set to */* the default renderer should serialize the response."""
          resp = self.client.get('/', HTTP_ACCEPT='*/*')
          self.assertEquals(resp['Content-Type'], RendererA.media_type)
 
</s> remove         self.assertEquals(resp.content, '')
 </s> add         self.assertEquals(resp.content, six.b('')) </s> remove         self.assertEquals(resp.content, 'callback(%s);' % _flat_repr)
 </s> add         self.assertEquals(resp.content,
            ('callback(%s);' % _flat_repr).encode('ascii')) </s> remove         self.assertEquals(resp.content, 'callback(%s);' % _flat_repr)
 </s> add         self.assertEquals(resp.content,
            ('callback(%s);' % _flat_repr).encode('ascii')) </s> remove         self.assertEquals(resp.content, '%s(%s);' % (callback_func, _flat_repr))
 </s> add         self.assertEquals(resp.content,
            ('%s(%s);' % (callback_func, _flat_repr)).encode('ascii')) </s> remove         self.assertEquals(response.content, '')
 </s> add         self.assertEquals(response.content, six.b(''))
        self.assertEquals(resp.content, six.b(''))
          """No response must be included in HEAD requests."""
          resp = self.client.head('/')
          self.assertEquals(resp.status_code, DUMMYSTATUS)
          self.assertEquals(resp['Content-Type'], RendererA.media_type)
        self.assertEquals(resp.content, six.b(''))
  
      def test_default_renderer_serializes_content_on_accept_any(self):
          """If the Accept header is set to */* the default renderer should serialize the response."""
          resp = self.client.get('/', HTTP_ACCEPT='*/*')
          self.assertEquals(resp['Content-Type'], RendererA.media_type)
keep keep keep keep replace keep keep keep keep keep
 Every (base) test should now pass with python3. 
rest_framework/tests/renderers.py