diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-09-16 09:58:12 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-09-20 21:23:01 +0200 |
| commit | 8b6d0333cf5cfefd55e36969145507bb6acfca10 (patch) | |
| tree | 3fbd49bffdfeb6f83772e4f8f77b99e4bbdac0b7 /tests | |
| parent | 737fa72ae3de1debe97f0a527eeebda3869aa227 (diff) | |
Advanced deprecation warnings for Django 4.1.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/runtests.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/runtests.py b/tests/runtests.py index 7e08baa5c0..2ec5d32969 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -26,9 +26,7 @@ else: from django.test.runner import get_max_test_processes, parallel_type from django.test.selenium import SeleniumTestCaseBase from django.test.utils import NullTimeKeeper, TimeKeeper, get_runner - from django.utils.deprecation import ( - RemovedInDjango41Warning, RemovedInDjango50Warning, - ) + from django.utils.deprecation import RemovedInDjango50Warning from django.utils.log import DEFAULT_LOGGING try: @@ -41,7 +39,6 @@ else: # Make deprecation warnings errors to ensure no usage of deprecated features. warnings.simplefilter('error', RemovedInDjango50Warning) -warnings.simplefilter('error', RemovedInDjango41Warning) # Make resource and runtime warning errors to ensure no usage of error prone # patterns. warnings.simplefilter("error", ResourceWarning) |
