  
  
  #test for issue #460
  class SerializerPickleTests(TestCase):
      """ Test pickleability of the output of Serializers
      """
      def test_pickle_simple_model_serializer_data(self):
          """ Test simple serializer
          """
          pickle.dumps(PersonSerializer(Person(name="Methusela", age=969)).data)
 
</s> remove         """ Test simple serializer
 </s> add         """
        Test simple serializer </s> remove         """ Test pickling a serializer whose resulting .data (a SortedDictWithMetadata) will
         have unpickleable meta data--in order to make sure metadata doesn't get pulled into the pickle.
         See DictWithMetadata.__getstate__
 </s> add         """
        Test pickling a serializer whose resulting .data (a SortedDictWithMetadata) will
        have unpickleable meta data--in order to make sure metadata doesn't get pulled into the pickle.
        See DictWithMetadata.__getstate__ </s> remove         """  Used by pickle (e.g., caching).
             Overriden to remove metadata from the dict, since it shouldn't be pickled
             and may in some instances be unpickleable.
 </s> add         """
        Used by pickle (e.g., caching).
        Overriden to remove metadata from the dict, since it shouldn't be pickled
        and may in some instances be unpickleable.
    """
    Test pickleability of the output of Serializers
  
  
  #test for issue #460
  class SerializerPickleTests(TestCase):
    """
    Test pickleability of the output of Serializers
      """
      def test_pickle_simple_model_serializer_data(self):
          """ Test simple serializer
          """
          pickle.dumps(PersonSerializer(Person(name="Methusela", age=969)).data)
keep keep keep keep replace keep keep keep keep keep
 cleaned up white space & docstring styling 
rest_framework/tests/serializer.py