django/tests/constraints
Simon Charette 9a461cae3e [5.1.x] Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test suite accordingly.
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 57307bbc7d from main.
2024-08-28 11:47:15 -03:00
..
__init__.py
models.py [5.1.x] Fixed #35638 -- Updated validate_constraints to consider db_default. 2024-08-05 17:36:15 +02:00
tests.py [5.1.x] Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:47:15 -03:00