summaryrefslogtreecommitdiff
path: root/tests/runtests.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-13 10:05:14 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-17 11:49:15 +0100
commitf39f12030277915f20011f48a0f5eb0d486943b6 (patch)
tree24308bdf40494b38123d6b4d7e4f04d1e981ef11 /tests/runtests.py
parent003081468e28db5af4d7c983f4d8df4c74c20607 (diff)
downloaddjango-f39f12030277915f20011f48a0f5eb0d486943b6.tar.gz
Advanced deprecation warnings for Django 5.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 db873e2c3d..a3550c553c 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -29,8 +29,8 @@ else:
from django.test.selenium import SeleniumTestCaseBase
from django.test.utils import NullTimeKeeper, TimeKeeper, get_runner
from django.utils.deprecation import (
- RemovedInDjango50Warning,
RemovedInDjango51Warning,
+ RemovedInDjango60Warning,
)
from django.utils.log import DEFAULT_LOGGING
@@ -43,7 +43,7 @@ else:
warnings.filterwarnings("ignore", r"\(1003, *", category=MySQLdb.Warning)
# Make deprecation warnings errors to ensure no usage of deprecated features.
-warnings.simplefilter("error", RemovedInDjango50Warning)
+warnings.simplefilter("error", RemovedInDjango60Warning)
warnings.simplefilter("error", RemovedInDjango51Warning)
# Make resource and runtime warning errors to ensure no usage of error prone
# patterns.