              'sub_comment': 'And Merry Christmas!'
          }
  
      def test_empty(self):
          serializer = CommentSerializer()
          expected = {
 
</s>
        self.person_data = {'name': 'dwight', 'age': 35}
        self.person = Person(**self.person_data)
        self.person.save()
              'sub_comment': 'And Merry Christmas!'
          }
        self.person_data = {'name': 'dwight', 'age': 35}
        self.person = Person(**self.person_data)
        self.person.save()
  
      def test_empty(self):
          serializer = CommentSerializer()
          expected = {
keep add keep keep keep keep
 Added test that makes sure that fields with
dictionaries as data are returned as expected and
not turned into string representations
rest_framework/tests/serializer.py