1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00
django/tests/utils_tests
Jon Dufresne b903bb438f Refs #30485 -- Removed non-representative test that emitted a warning.
Previously, when running the Django test suite with warnings enabled,
the following was emitted:

    /usr/lib64/python3.7/urllib/parse.py:915: BytesWarning: str() on a bytearray instance
      v = quote_via(str(v), safe, encoding, errors)

This occurred due to the bytearray() being passed to
urllib.parse.urlencode() which eventually calls str() on it. The test
does not represent desired real world behavior. Rather than test for and
assert strange unspecified behavior that emits a warning, remove it.

This was also discussed in PR #11374.
2019-06-19 13:03:52 +02:00
..
archives
eggs
files
test_module
__init__.py
models.py
test_archive.py
test_autoreload.py Fixed #30523 -- Fixed updating file modification times on seen files in auto-reloader when using StatReloader. 2019-05-29 09:41:24 +02:00
test_baseconv.py
test_crypto.py
test_datastructures.py Removed unneeded list() calls in sorted() argument. 2019-02-09 19:08:22 -05:00
test_dateformat.py
test_dateparse.py Fixed #30141 -- Fixed parse_duration() for some negative durations. 2019-02-23 18:54:09 -05:00
test_datetime_safe.py
test_decorators.py
test_duration.py
test_encoding_deprecations.py Refs #27753 -- Deprecated django.utils.encoding.force_text() and smart_text(). 2019-02-06 14:12:06 -05:00
test_encoding.py
test_feedgenerator.py
test_functional.py Fixed #30498 -- Fixed proxy class caching in lazy(). 2019-05-22 20:41:52 +02:00
test_hashable.py
test_html.py Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use html.escape()/unescape(). 2019-04-25 15:09:07 +02:00
test_http.py Refs #30485 -- Removed non-representative test that emitted a warning. 2019-06-19 13:03:52 +02: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 Fixed #30363 -- Do not use exponential notation for small decimal numbers. 2019-04-13 14:30:33 +02:00
test_os_utils.py
test_regex_helper.py
test_safestring.py Refs #27753 -- Favored SafeString over SafeText. 2019-02-06 14:12:06 -05:00
test_simplelazyobject.py
test_termcolors.py
test_text.py Refs #27753 -- Deprecated django.utils.text.unescape_entities(). 2019-05-08 08:00:59 +02:00
test_timesince.py
test_timezone.py
test_topological_sort.py Refs #30179 -- Moved topological sort functions to django.utils. 2019-02-25 15:44:49 -05:00
test_tree.py
utils.py Fixed #30366 -- Skipped StatReloaderTests on HFS+ filesystems. 2019-04-24 15:28:20 +02:00