1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Advanced deprecation warnings for Django 1.7.

This commit is contained in:
Aymeric Augustin
2013-06-29 18:34:41 +02:00
parent 8b9b8d3bda
commit acd7b34aaf
41 changed files with 80 additions and 81 deletions

View File

@@ -54,7 +54,7 @@ import warnings
warnings.warn(
"The django.test._doctest module is deprecated; "
"use the doctest module from the Python standard library instead.",
PendingDeprecationWarning)
DeprecationWarning)
__docformat__ = 'reStructuredText en'

View File

@@ -21,7 +21,7 @@ __all__ = ('DjangoTestSuiteRunner',)
warnings.warn(
"The django.test.simple module and DjangoTestSuiteRunner are deprecated; "
"use django.test.runner.DiscoverRunner instead.",
PendingDeprecationWarning)
DeprecationWarning)
# The module name for tests outside models.py
TEST_MODULE = 'tests'