  
          # Ensure (target 3, target_source 3, source 3) are updated,
          # and everything else is as expected.
          queryset = OneToOneTarget.objects.all()
          serializer = self.Serializer(queryset)
          expected = [
              {'id': 1, 'name': 'target-1', 'source': {'id': 1, 'name': 'source-1'}},
              {'id': 2, 'name': 'target-2', 'source': {'id': 2, 'name': 'source-2'}},
              {'id': 3, 'name': 'target-3-updated', 'source': {'id': 3, 'name': 'source-3-updated'}}
          ]
 
</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)
  
          # Ensure (target 3, target_source 3, source 3) are updated,
          # and everything else is as expected.
          queryset = OneToOneTarget.objects.all()
        serializer = self.Serializer(queryset, many=True)
          expected = [
              {'id': 1, 'name': 'target-1', 'source': {'id': 1, 'name': 'source-1'}},
              {'id': 2, 'name': 'target-2', 'source': {'id': 2, 'name': 'source-2'}},
              {'id': 3, 'name': 'target-3-updated', 'source': {'id': 3, 'name': 'source-3-updated'}}
          ]
keep keep keep keep replace keep keep keep keep keep
 Fix deprecation warnings in relations_nested tests 
rest_framework/tests/relations_nested.py