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:
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user