summaryrefslogtreecommitdiff
path: root/tests/deprecation
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-02-26 22:48:20 +0100
committerClaude Paroz <claude@2xlibre.net>2014-03-08 09:57:40 +0100
commit210d0489c5daad56b806f8165f9fe09fb3c2a019 (patch)
treef16c665e94669288fec0c3712a5639e9ad1ad1a7 /tests/deprecation
parent70ec4d776ef0e68960ccee21476b8654e9399f53 (diff)
downloaddjango-210d0489c5daad56b806f8165f9fe09fb3c2a019.tar.gz
Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings
Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
Diffstat (limited to 'tests/deprecation')
-rw-r--r--tests/deprecation/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/deprecation/tests.py b/tests/deprecation/tests.py
index 2a0922a0a8..717f32344c 100644
--- a/tests/deprecation/tests.py
+++ b/tests/deprecation/tests.py
@@ -1,4 +1,5 @@
from __future__ import unicode_literals
+
import warnings
from django.test import SimpleTestCase, RequestFactory, override_settings