diff options
| author | Natalia <124304+nessita@users.noreply.github.com> | 2024-05-03 15:07:31 -0300 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2024-05-22 15:44:07 -0300 |
| commit | 3a748cd0f53b718625d82262a70b2dabafd0185e (patch) | |
| tree | 038946de8e0709a9c4dc5825a81834ffe4e30841 /tests | |
| parent | 05cce083ad662913008e107bc6332e7ffe1502e6 (diff) | |
Advanced deprecation warnings for Django 5.2.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/runtests.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/runtests.py b/tests/runtests.py index 1e3d15591f..c5bb637d33 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -28,7 +28,10 @@ else: from django.test.runner import get_max_test_processes, parallel_type from django.test.selenium import SeleniumTestCase, SeleniumTestCaseBase from django.test.utils import NullTimeKeeper, TimeKeeper, get_runner - from django.utils.deprecation import RemovedInDjango60Warning + from django.utils.deprecation import ( + RemovedInDjango60Warning, + RemovedInDjango61Warning, + ) from django.utils.log import DEFAULT_LOGGING from django.utils.version import PY312, PYPY @@ -42,6 +45,7 @@ else: # Make deprecation warnings errors to ensure no usage of deprecated features. warnings.simplefilter("error", RemovedInDjango60Warning) +warnings.simplefilter("error", RemovedInDjango61Warning) # Make resource and runtime warning errors to ensure no usage of error prone # patterns. warnings.simplefilter("error", ResourceWarning) |
