summaryrefslogtreecommitdiff
path: root/tests/runtests.py
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2025-09-05 14:40:15 -0400
committernessita <124304+nessita@users.noreply.github.com>2025-09-17 15:17:05 -0300
commitcebbd5a6ad6b065ee2ea89fe7ded544b0bf48d12 (patch)
tree78fe463a1378cd29a65ba49fb30a7847214f028e /tests/runtests.py
parentb83204a06e2a4b01f8580b5452058729786ee1d5 (diff)
Advanced deprecation warnings for Django 6.1.
Diffstat (limited to 'tests/runtests.py')
-rwxr-xr-xtests/runtests.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index 679f5269ca..ccfc3279ff 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -28,10 +28,7 @@ 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 (
- RemovedInDjango61Warning,
- RemovedInDjango70Warning,
- )
+ from django.utils.deprecation import RemovedInDjango70Warning
from django.utils.functional import classproperty
from django.utils.log import DEFAULT_LOGGING
from django.utils.version import PYPY
@@ -47,7 +44,6 @@ else:
# Make deprecation warnings errors to ensure no usage of deprecated features.
warnings.simplefilter("error", RemovedInDjango70Warning)
-warnings.simplefilter("error", RemovedInDjango61Warning)
# Make resource and runtime warning errors to ensure no usage of error prone
# patterns.
warnings.simplefilter("error", ResourceWarning)