1
0
mirror of https://github.com/django/django.git synced 2025-01-04 07:26:38 +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 Refs #32956 -- Updated words ending in -wards. 2021-07-30 20:34:50 +02:00
test_module Fixed #32669 -- Fixed detection when started non-django modules which aren't packages with "python -m" in autoreloader. 2021-05-26 12:29:43 +02:00
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 Fixed #32821 -- Updated os.scandir() uses to use a context manager. 2021-06-07 06:52:42 +02:00
test_autoreload.py Fixed #33027 -- Made autoreloader pass -X options. 2021-09-29 11:37:50 +02:00
test_baseconv.py
test_connection.py
test_crypto.py Updated various links to HTTPS and new locations. 2021-12-02 11:27:29 +01:00
test_datastructures.py
test_dateformat.py Completed test coverage for django.utils.dateformat. 2021-07-13 13:21:10 +02:00
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 Fixed #33302 -- Made element_id optional argument for json_script template filter. 2021-11-22 11:52:19 +01:00
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 Refs #32074 -- Fixed find_module()/find_loader() warnings on Python 3.10+. 2021-09-16 20:20:54 +02:00
test_no_submodule.py
test_numberformat.py Fixed #32873 -- Deprecated settings.USE_L10N. 2021-09-14 12:05:43 +02:00
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 Fixed #32365 -- Made zoneinfo the default timezone implementation. 2021-09-16 12:11:05 +02:00
test_topological_sort.py
test_tree.py
utils.py