Author: russellm Date: 2011-04-02 01:34:50 -0700 (Sat, 02 Apr 2011) New Revision: 15973
Modified: django/trunk/django/contrib/gis/tests/__init__.py Log: Advanced deprecations in contrib.gis. Modified: django/trunk/django/contrib/gis/tests/__init__.py =================================================================== --- django/trunk/django/contrib/gis/tests/__init__.py 2011-04-02 08:34:15 UTC (rev 15972) +++ django/trunk/django/contrib/gis/tests/__init__.py 2011-04-02 08:34:50 UTC (rev 15973) @@ -7,16 +7,6 @@ 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 -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.