def test_User(self):
        qs = User.objects.all()
        assert not hasattr(qs, 'approx_count')
        qs2 = add_QuerySetMixin(qs)

        assert hasattr(qs2, 'approx_count')
        assert qs.__class__ != qs2.__class__
        assert qs.__class__ in qs2.__class__.__mro__
dataset/ETHPy150Open adamchainz/django-mysql/tests/testapp/test_models.py/MixinQuerysetTests.test_User/original