          pickle.dumps(PersonSerializer(Person(name="Methusela", age=969)).data)
  
  
      def test_pickle_inner_serializer(self):
          """ 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__
          """
          class InnerPersonSerializer(serializers.ModelSerializer):
              class Meta:
                  model = Person
                  fields = ('name', 'age')
 
</s> remove         """ Test simple serializer
 </s> add         """
        Test simple serializer </s> remove     """ Test pickleability of the output of Serializers
 </s> add     """
    Test pickleability of the output of Serializers </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 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__
          pickle.dumps(PersonSerializer(Person(name="Methusela", age=969)).data)
  
  
      def test_pickle_inner_serializer(self):
        """
        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__
        """
        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__
        """
        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__
          """
          class InnerPersonSerializer(serializers.ModelSerializer):
              class Meta:
                  model = Person
                  fields = ('name', 'age')
keep keep keep keep replace replace replace keep keep keep keep keep
 cleaned up white space & docstring styling 
rest_framework/tests/serializer.py