1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests/utils_tests
Simon Charette 57307bbc7d 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.
2024-08-28 11:44:05 -03:00
..
archives
eggs
files
test_module
traversal_archives
__init__.py
deconstructible_classes.py
models.py
test_archive.py
test_autoreload.py
test_choices.py
test_connection.py
test_crypto.py
test_datastructures.py
test_dateformat.py
test_dateparse.py
test_deconstruct.py
test_decorators.py
test_duration.py
test_encoding.py
test_feedgenerator.py
test_functional.py
test_hashable.py
test_html.py Refs #34609 -- Fixed deprecation warning stack level in format_html(). 2024-08-27 15:14:50 -03:00
test_http.py
test_inspect.py
test_ipv6.py
test_itercompat.py Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:44:05 -03:00
test_jslex.py
test_lazyobject.py
test_lorem_ipsum.py
test_module_loading.py
test_no_submodule.py
test_numberformat.py
test_os_utils.py
test_regex_helper.py
test_safestring.py Fixed #35648 -- Raised NotImplementedError in SafeString.__add__ for non-string RHS. 2024-08-12 14:25:05 -03:00
test_simplelazyobject.py
test_termcolors.py
test_text.py
test_timesince.py
test_timezone.py
test_tree.py
utils.py