diff --git a/tests/indexes/tests.py b/tests/indexes/tests.py index 99adc73f9c..86000bb94c 100644 --- a/tests/indexes/tests.py +++ b/tests/indexes/tests.py @@ -3,11 +3,12 @@ from unittest import skipUnless from django.core.management.color import no_style from django.db import connection from django.test import TestCase +from django.test.utils import IgnorePendingDeprecationWarningsMixin from .models import Article, IndexTogetherSingleList -class CreationIndexesTests(TestCase): +class CreationIndexesTests(IgnorePendingDeprecationWarningsMixin, TestCase): """ Test index handling by the to-be-deprecated connection.creation interface. """