1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests/utils_tests
Ran Benita 066aabcb77 Fixed #34445 -- Fixed string-casting of non-string lazy objects.
This removes __text_cast() as it's the same as __cast().
_delegate_bytes and __delegate_text are mutually exclusive so the
`if self._delegate_bytes` branch in __cast() is unreachable.

Co-Authored-By: David Sanders <shang.xiao.sanders@gmail.com>
2023-03-30 11:42:10 +02:00
..
archives
eggs
files
test_module
traversal_archives
__init__.py
deconstructible_classes.py
models.py
test_archive.py
test_autoreload.py Fixed #34233 -- Dropped support for Python 3.8 and 3.9. 2023-01-18 09:46:01 +01:00
test_connection.py
test_crypto.py Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_datastructures.py Completed test coverage for django.utils.datastructures. 2023-02-15 07:45:00 +01:00
test_dateformat.py Refs #32365 -- Removed support for pytz timezones per deprecation timeline. 2023-01-17 11:49:15 +01:00
test_dateparse.py
test_deconstruct.py
test_decorators.py
test_duration.py
test_encoding.py
test_feedgenerator.py
test_functional.py Fixed #34445 -- Fixed string-casting of non-string lazy objects. 2023-03-30 11:42:10 +02:00
test_hashable.py
test_html.py
test_http.py
test_inspect.py
test_ipv6.py
test_jslex.py
test_lazyobject.py
test_lorem_ipsum.py
test_module_loading.py Fixed #34233 -- Dropped support for Python 3.8 and 3.9. 2023-01-18 09:46:01 +01:00
test_no_submodule.py
test_numberformat.py
test_os_utils.py
test_regex_helper.py
test_safestring.py
test_simplelazyobject.py
test_termcolors.py
test_text.py
test_timesince.py Fixed #34243 -- Fixed timesince() crash with timezone-aware dates and interval longer than 1 month. 2023-01-05 16:38:19 +01:00
test_timezone.py Fixed #34233 -- Dropped support for Python 3.8 and 3.9. 2023-01-18 09:46:01 +01:00
test_tree.py
utils.py