django/tests/utils_tests
David Smith 80aae83439 [4.2.x] Refs #33476 -- Applied Black's 2023 stable style.
Black 23.1.0 is released which, as the first release of the year,
introduces the 2023 stable style. This incorporates most of last year's
preview style.

https://github.com/psf/black/releases/tag/23.1.0

Backport of 097e3a70c1 from main
2023-02-01 11:37:29 +01:00
..
archives Fixed #30160 -- Added support for LZMA and XZ templates to startapp/startproject management commands. 2019-07-31 10:02:13 +02:00
eggs
files Rewrote strip_tags test file to lorem ipsum. 2022-03-08 14:50:06 +01:00
test_module Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
traversal_archives Fixed CVE-2021-3281 -- Fixed potential directory-traversal via archive.extract(). 2021-02-01 09:07:36 +01:00
__init__.py
deconstructible_classes.py Refs #21275 -- Added more tests for @deconstructible decorator. 2022-01-04 13:08:36 +01:00
models.py Refs #20094 -- Removed obsolete tests/utils_tests/test_itercompat.py 2017-04-26 10:54:06 -04:00
test_archive.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_autoreload.py Refs #30213 -- Removed post-startup check for Watchman availability. 2022-08-11 11:02:03 +02:00
test_baseconv.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_connection.py Prevented initialization of unused database connections. 2022-03-17 07:40:57 +01:00
test_crypto.py [4.2.x] Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:37:29 +01:00
test_datastructures.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_dateformat.py Added support for datetime.date to DateFormat.r(). 2023-01-05 12:51:55 +01:00
test_dateparse.py Refs #33173 -- Fixed test_dateparse tests on Python 3.11+. 2022-05-09 10:38:11 +02:00
test_datetime_safe.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_deconstruct.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_decorators.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_duration.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_encoding.py Refs #33173 -- Used locale.getlocale() instead of getdefaultlocale(). 2022-03-08 13:17:05 +01:00
test_feedgenerator.py Refs #32365 -- Removed internal uses of utils.timezone.utc alias. 2022-03-24 06:29:50 +01:00
test_functional.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_hashable.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_html.py Fixed #33779 -- Allowed customizing encoder class in django.utils.html.json_script(). 2022-06-28 10:54:38 +02:00
test_http.py Fixed #34194 -- Added django.utils.http.content_disposition_header(). 2022-12-05 13:08:00 +01:00
test_inspect.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_ipv6.py Updated documentation and comments for RFC updates. 2022-11-10 13:52:17 +01:00
test_jslex.py Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
test_lazyobject.py Refs #28358 -- Fixed infinite recursion in LazyObject.__getattribute__(). 2022-02-17 14:52:17 +01:00
test_lorem_ipsum.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_module_loading.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_no_submodule.py
test_numberformat.py Refs #34000 -- Optimized handling None values in numberformat.format(). 2022-09-12 13:02:50 +02:00
test_os_utils.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_regex_helper.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_safestring.py Fixed #20296 -- Prevented mark_safe() from evaluating lazy objects. 2022-02-21 10:11:26 +01:00
test_simplelazyobject.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_termcolors.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_text.py Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
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 Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_topological_sort.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_tree.py Refs #32948 -- Renamed Node._new_instance() to Node.create(). 2022-07-27 10:06:24 +02:00
utils.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00