summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2011-04-02 08:34:50 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2011-04-02 08:34:50 +0000
commit765458363bc8967516ae973d255a44d5d2c19566 (patch)
treef3a2dfbb9d2171e50c288095dacc6edf5ff48270
parentc1df35b0fa1028e3708508f8b8de5d7f0d993407 (diff)
Advanced deprecations in contrib.gis.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/gis/tests/__init__.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/django/contrib/gis/tests/__init__.py b/django/contrib/gis/tests/__init__.py
index 612382c460..27d221a8f3 100644
--- a/django/contrib/gis/tests/__init__.py
+++ b/django/contrib/gis/tests/__init__.py
@@ -7,16 +7,6 @@ def run_tests(*args, **kwargs):
return base_run_tests(*args, **kwargs)
-def run_gis_tests(test_labels, verbosity=1, interactive=True, failfast=False, extra_tests=None):
- import warnings
- warnings.warn(
- 'The run_gis_tests() test runner has been deprecated in favor of GeoDjangoTestSuiteRunner.',
- DeprecationWarning
- )
- test_runner = GeoDjangoTestSuiteRunner(verbosity=verbosity, interactive=interactive, failfast=failfast)
- return test_runner.run_tests(test_labels, extra_tests=extra_tests)
-
-
def geo_apps(namespace=True, runtests=False):
"""
Returns a list of GeoDjango test applications that reside in