diff options
Diffstat (limited to 'tests/indexes/tests.py')
| -rw-r--r-- | tests/indexes/tests.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/indexes/tests.py b/tests/indexes/tests.py index 0710446245..1d60f215fe 100644 --- a/tests/indexes/tests.py +++ b/tests/indexes/tests.py @@ -2,13 +2,14 @@ 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 django.test import TestCase, ignore_warnings +from django.utils.deprecation import RemovedInDjango20Warning from .models import Article, ArticleTranslation, IndexTogetherSingleList -class CreationIndexesTests(IgnorePendingDeprecationWarningsMixin, TestCase): +@ignore_warnings(category=RemovedInDjango20Warning) +class CreationIndexesTests(TestCase): """ Test index handling by the to-be-deprecated connection.creation interface. """ |
