summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/test/testcases.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/test/testcases.py b/django/test/testcases.py
index 47c3377151..27196cdc62 100644
--- a/django/test/testcases.py
+++ b/django/test/testcases.py
@@ -1056,6 +1056,7 @@ class TransactionTestCase(SimpleTestCase):
"on a queryset when compared to string values. Set an "
"explicit 'transform' to silence this warning.",
category=RemovedInDjango41Warning,
+ stacklevel=2,
)
transform = repr
items = qs