              source.save()
  
      def test_one_to_one_retrieve(self):
          queryset = OneToOneSource.objects.all()
          serializer = self.Serializer(queryset)
          expected = [
              {'id': 1, 'name': 'source-1', 'target': {'id': 1, 'name': 'target-1'}},
              {'id': 2, 'name': 'source-2', 'target': {'id': 2, 'name': 'target-2'}},
              {'id': 3, 'name': 'source-3', 'target': {'id': 3, 'name': 'target-3'}}
          ]
 
</s> remove         serializer = self.Serializer(queryset)
 </s> add         serializer = self.Serializer(queryset, many=True) </s> remove         serializer = self.Serializer(queryset)
 </s> add         serializer = self.Serializer(queryset, many=True) </s> remove         serializer = self.Serializer(queryset)
 </s> add         serializer = self.Serializer(queryset, many=True) </s> remove         serializer = self.Serializer(queryset)
 </s> add         serializer = self.Serializer(queryset, many=True) </s> remove         serializer = self.Serializer(queryset)
 </s> add         serializer = self.Serializer(queryset, many=True)
        serializer = self.Serializer(queryset, many=True)
              source.save()
  
      def test_one_to_one_retrieve(self):
          queryset = OneToOneSource.objects.all()
        serializer = self.Serializer(queryset, many=True)
          expected = [
              {'id': 1, 'name': 'source-1', 'target': {'id': 1, 'name': 'target-1'}},
              {'id': 2, 'name': 'source-2', 'target': {'id': 2, 'name': 'target-2'}},
              {'id': 3, 'name': 'source-3', 'target': {'id': 3, 'name': 'target-3'}}
          ]
keep keep keep keep replace keep keep keep keep keep
 Fix deprecation warnings in relations_nested tests 
rest_framework/tests/relations_nested.py