@skipUnless(django.VERSION >= (1, 6, 0), "test only applies to Django 1.6+")
    def test_child_doesnt_accidentally_get_parent(self):
        objs = InheritanceManagerTestChild1.objects.select_subclasses(
                InheritanceManagerTestGrandChild1).order_by('pk')
        self.assertEqual([
            InheritanceManagerTestChild1(pk=self.child1.pk),
            InheritanceManagerTestGrandChild1(pk=self.grandchild1.pk),
            InheritanceManagerTestChild1(pk=self.grandchild1_2.pk),
        ], list(objs))
Given a Child model which also has an InheritanceManager,
dataset/ETHPy150Open carljm/django-model-utils/model_utils/tests/tests.py/InheritanceManagerUsingModelsTests.test_child_doesnt_accidentally_get_parent