summaryrefslogtreecommitdiff
path: root/tests/runtests.py
diff options
context:
space:
mode:
authorSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-12-13 10:24:05 +0100
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-01-15 22:28:37 +0100
commit7bc88c3c15dcc3aa38702f298845a97618b1932b (patch)
tree5d454418a587a049493a1346ad859a90f1c9ccb9 /tests/runtests.py
parent17ae61a5d4ec75ac5e40363cc76b04c191b50d3d (diff)
Advanced deprecation warnings for Django 6.0.
Diffstat (limited to 'tests/runtests.py')
-rwxr-xr-xtests/runtests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index 57d4fcea72..adf9e1bc29 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -29,8 +29,8 @@ else:
from django.test.selenium import SeleniumTestCase, SeleniumTestCaseBase
from django.test.utils import NullTimeKeeper, TimeKeeper, get_runner
from django.utils.deprecation import (
- RemovedInDjango60Warning,
RemovedInDjango61Warning,
+ RemovedInDjango70Warning,
)
from django.utils.functional import classproperty
from django.utils.log import DEFAULT_LOGGING
@@ -46,7 +46,7 @@ else:
warnings.filterwarnings("ignore", r"\(1003, *", category=MySQLdb.Warning)
# Make deprecation warnings errors to ensure no usage of deprecated features.
-warnings.simplefilter("error", RemovedInDjango60Warning)
+warnings.simplefilter("error", RemovedInDjango70Warning)
warnings.simplefilter("error", RemovedInDjango61Warning)
# Make resource and runtime warning errors to ensure no usage of error prone
# patterns.