mirror of https://github.com/django/django.git
9a461cae3e
Over the years we've had multiple instances of hit and misses when
emitting warnings: either setting the wrong stacklevel or not setting
it at all.
This work adds assertions for the existing warnings that were declaring
the correct stacklevel, but were lacking tests for it.
Backport of
|
||
---|---|---|
.. | ||
__init__.py | ||
admin.py | ||
models.py | ||
test_logentry.py | ||
tests.py | ||
urls.py |