              {'url': 'http://testserver/manytomanysource/2/', 'name': 'source-2', 'targets': ['http://testserver/manytomanytarget/1/', 'http://testserver/manytomanytarget/2/']},
              {'url': 'http://testserver/manytomanysource/3/', 'name': 'source-3', 'targets': ['http://testserver/manytomanytarget/1/', 'http://testserver/manytomanytarget/2/', 'http://testserver/manytomanytarget/3/']}
          ]
          with self.assertNumQueries(4):
              self.assertEqual(serializer.data, expected)
  
      def test_many_to_many_retrieve_prefetch_related(self):
          queryset = ManyToManySource.objects.all().prefetch_related('targets')
          serializer = ManyToManySourceSerializer(queryset, many=True, context={'request': request})
          with self.assertNumQueries(2):
 
</s> remove         self.assertEqual(serializer.data, expected)
 </s> add         assert serializer.data == expected </s> remove         self.assertEqual(serializer.data, expected)
 </s> add         assert serializer.data == expected </s> remove             self.assertEqual(serializer.data, expected)
 </s> add             assert serializer.data == expected </s> remove             self.assertEqual(serializer.data, expected)
 </s> add             assert serializer.data == expected </s> remove         self.assertEqual(serializer.data, expected)
 </s> add         assert serializer.data == expected
            assert serializer.data == expected
              {'url': 'http://testserver/manytomanysource/2/', 'name': 'source-2', 'targets': ['http://testserver/manytomanytarget/1/', 'http://testserver/manytomanytarget/2/']},
              {'url': 'http://testserver/manytomanysource/3/', 'name': 'source-3', 'targets': ['http://testserver/manytomanytarget/1/', 'http://testserver/manytomanytarget/2/', 'http://testserver/manytomanytarget/3/']}
          ]
          with self.assertNumQueries(4):
            assert serializer.data == expected
  
      def test_many_to_many_retrieve_prefetch_related(self):
          queryset = ManyToManySource.objects.all().prefetch_related('targets')
          serializer = ManyToManySourceSerializer(queryset, many=True, context={'request': request})
          with self.assertNumQueries(2):
keep keep keep keep replace keep keep keep keep keep
 converted test asserts of hyperlin relations to pytest 
tests/test_relations_hyperlink.py