          """
          Test basic JSON rendering.
          """
          obj = {'foo': ['bar', 'baz']}
          renderer = JSONRenderer(None)
          content = renderer.render(obj, 'application/json')
          # Fix failing test case which depends on version of JSON library.
          self.assertEquals(content, _flat_repr)
  
      def test_with_content_type_args(self):
 
</s> remove             renderer = YAMLRenderer(None)
 </s> add             renderer = YAMLRenderer() </s> remove         renderer = JSONRenderer(None)
 </s> add         renderer = JSONRenderer() </s> remove             renderer = YAMLRenderer(None)
 </s> add             renderer = YAMLRenderer() </s> remove         renderer = XMLRenderer(None)
 </s> add         renderer = XMLRenderer() </s> remove         renderer = XMLRenderer(None)
 </s> add         renderer = XMLRenderer()
        renderer = JSONRenderer()
          """
          Test basic JSON rendering.
          """
          obj = {'foo': ['bar', 'baz']}
        renderer = JSONRenderer()
          content = renderer.render(obj, 'application/json')
          # Fix failing test case which depends on version of JSON library.
          self.assertEquals(content, _flat_repr)
  
      def test_with_content_type_args(self):
keep keep keep keep replace keep keep keep keep keep
 Make sure JSON output in Browseable API is nicely indented 
rest_framework/tests/renderers.py