          data['content'] = 'This should not validate'
  
          serializer = CommentSerializerWithFieldValidator(data=data)
          self.assertFalse(serializer.is_valid())
          self.assertEquals(serializer.errors, {'content': [u'Test not in value']})
  
      def test_cross_field_validation(self):
  
          class CommentSerializerWithCrossFieldValidator(CommentSerializer):
  
 
</s> remove         self.assertEquals(serializer.errors, {'non_field_errors': [u'Email address not in content']})
 </s> add         self.assertEquals(serializer.errors, {'non_field_errors': ['Email address not in content']}) </s> remove         self.assertEquals(serializer.errors, {'isbn': [u'isbn has to be exact 13 numbers']})
 </s> add         self.assertEquals(serializer.errors, {'isbn': ['isbn has to be exact 13 numbers']}) </s> remove         self.assertEquals(serializer.errors, {'content': [u'Ensure this value has at most 1000 characters (it has 1001).']})
 </s> add         self.assertEquals(serializer.errors, {'content': ['Ensure this value has at most 1000 characters (it has 1001).']}) </s> remove         self.assertEquals(serializer.errors, {'isbn': [u'isbn has to be exact 13 numbers']})
 </s> add         self.assertEquals(serializer.errors, {'isbn': ['isbn has to be exact 13 numbers']}) </s> remove         self.assertEquals(serializer.errors, {'content': [u'Ensure this value has at most 1000 characters (it has 1001).']})
 </s> add         self.assertEquals(serializer.errors, {'content': ['Ensure this value has at most 1000 characters (it has 1001).']})
        self.assertEquals(serializer.errors, {'content': ['Test not in value']})
          data['content'] = 'This should not validate'
  
          serializer = CommentSerializerWithFieldValidator(data=data)
          self.assertFalse(serializer.is_valid())
        self.assertEquals(serializer.errors, {'content': ['Test not in value']})
  
      def test_cross_field_validation(self):
  
          class CommentSerializerWithCrossFieldValidator(CommentSerializer):
  
keep keep keep keep replace keep keep keep keep keep
 First passing test under p3k \o/ 
rest_framework/tests/serializer.py