1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/utils_tests
Keryn Knight 55022f75c1 Fixed #33465 -- Added empty __slots__ to SafeString and SafeData.
Despite inheriting from the str type, every SafeString instance gains
an empty __dict__ due to the normal, expected behaviour of type
subclassing in Python.

Adding __slots__ to SafeData is necessary, because otherwise inheriting
from that (as SafeString does) will give it a __dict__ and negate the
benefit added by modifying SafeString.
2022-01-29 13:50:34 +01:00
..
archives
eggs
files
test_module
traversal_archives
__init__.py
deconstructible_classes.py Refs #21275 -- Added more tests for @deconstructible decorator. 2022-01-04 13:08:36 +01:00
models.py
test_archive.py
test_autoreload.py
test_baseconv.py
test_connection.py
test_crypto.py
test_datastructures.py
test_dateformat.py
test_dateparse.py Fixed #33368 -- Fixed parse_duration() crash on invalid separators for decimal fractions. 2021-12-20 06:46:34 +01:00
test_datetime_safe.py
test_deconstruct.py Refs #33216 -- Made @deconstructible do not change path for subclasses. 2022-01-04 13:15:29 +01:00
test_decorators.py
test_duration.py
test_encoding.py
test_feedgenerator.py
test_functional.py Fixed #30127 -- Deprecated name argument of cached_property(). 2021-12-16 18:52:27 +01:00
test_hashable.py
test_html.py
test_http.py Fixed #28628 -- Changed \d to [0-9] in regexes where appropriate. 2022-01-07 12:25:06 +01:00
test_inspect.py
test_ipv6.py
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 #33465 -- Added empty __slots__ to SafeString and SafeData. 2022-01-29 13:50:34 +01:00
test_simplelazyobject.py
test_termcolors.py
test_text.py Fixed unescape_string_literal() crash on empty strings. 2021-12-14 20:19:44 +01:00
test_timesince.py
test_timezone.py
test_topological_sort.py
test_tree.py
utils.py