diff options
| author | Claude Paroz <claude@2xlibre.net> | 2014-12-21 21:13:06 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2014-12-30 18:16:25 +0100 |
| commit | 66f9a74b4514bd259976ce8ee3a4e78288358a5f (patch) | |
| tree | 4a3f5c24b15f53e9a886788110c735e0822783f9 /django/test/__init__.py | |
| parent | 8082c75d188e395c973f52bfdf5d547c741edd03 (diff) | |
Added ignore_warnings decorator
And removed Ignore*DeprecationWarningsMixin, now obsolete.
Thanks Berker Peksag and Tim Graham for the review.
Diffstat (limited to 'django/test/__init__.py')
| -rw-r--r-- | django/test/__init__.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/django/test/__init__.py b/django/test/__init__.py index b65601b12d..f5213301d3 100644 --- a/django/test/__init__.py +++ b/django/test/__init__.py @@ -8,13 +8,14 @@ from django.test.testcases import ( SimpleTestCase, LiveServerTestCase, skipIfDBFeature, skipUnlessDBFeature ) -from django.test.utils import modify_settings, override_settings, override_system_checks +from django.test.utils import (ignore_warnings, modify_settings, + override_settings, override_system_checks) __all__ = [ 'Client', 'RequestFactory', 'TestCase', 'TransactionTestCase', 'SimpleTestCase', 'LiveServerTestCase', 'skipIfDBFeature', - 'skipUnlessDBFeature', 'modify_settings', 'override_settings', - 'override_system_checks' + 'skipUnlessDBFeature', 'ignore_warnings', 'modify_settings', + 'override_settings', 'override_system_checks' ] # To simplify Django's test suite; not meant as a public API |
