Use `skipUnlessDbFeature('allow_slice_subqueries')` instead. see https://docs.djangoproject.com/en/1.6/topics/testing/tools/#django.test.skipUnlessDBFeature