diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-03-31 12:22:52 +0000 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-03-31 12:22:52 +0000 |
| commit | c7229c681e648ea810e907784855eb91d47a7bfb (patch) | |
| tree | 4934daecf1dba5f45d3b5bbc518da787f34f6d50 /django | |
| parent | 3f1650680916b06df630bb4a5906c41a079ca42b (diff) | |
Removed deprecated DjangoTestRunner.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django')
| -rw-r--r-- | django/test/simple.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/django/test/simple.py b/django/test/simple.py index 0c6a21bb37..de8b527f19 100644 --- a/django/test/simple.py +++ b/django/test/simple.py @@ -10,7 +10,7 @@ from django.utils import unittest from django.utils.importlib import import_module from django.utils.module_loading import module_has_submodule -__all__ = ('DjangoTestRunner', 'DjangoTestSuiteRunner') +__all__ = ('DjangoTestSuiteRunner') # The module name for tests outside models.py TEST_MODULE = 'tests' @@ -18,17 +18,6 @@ TEST_MODULE = 'tests' doctestOutputChecker = OutputChecker() -class DjangoTestRunner(unittest.TextTestRunner): - def __init__(self, *args, **kwargs): - import warnings - warnings.warn( - "DjangoTestRunner is deprecated; it's functionality is " - "indistinguishable from TextTestRunner", - DeprecationWarning - ) - super(DjangoTestRunner, self).__init__(*args, **kwargs) - - def get_tests(app_module): parts = app_module.__name__.split('.') prefix, last = parts[:-1], parts[-1] |
