'#23396 - Ensure ValueQuerySets are not checked for compatibility with the lookup field'

def test_values_queryset_lookup(self):

    ob = ObjectB.objects.get(name='ob')
    ob.num = ob.objecta.pk
    ob.save()
    pob = ObjectB.objects.get(name='pob')
    pob.num = pob.objecta.pk
    pob.save()
    self.assertQuerysetEqual(ObjectB.objects.filter(objecta__in=ObjectB.objects.all().values_list('num')).order_by('pk'), ['<ObjectB:    ob>', '<ObjectB:    pob>'])
