django/tests/utils_tests
Matthew Somerville caa3562d5b Fixed #24242 -- Improved efficiency of utils.text.compress_sequence()
The function no longer flushes zfile after each write as doing so can
lead to the gzipped streamed content being larger than the original
content; each flush adds a 5/6 byte type 0 block. Removing this means
buf.read() may return nothing, so only yield if that has some data.
Testing shows without the flush() the buffer is being flushed every 17k
or so and compresses the same as if it had been done as a whole string.
2015-02-04 13:04:00 -05:00
..
archives
eggs
files
locale/nl/LC_MESSAGES Fixed #9523 -- Restart runserver after translation MO files change 2013-11-02 10:29:07 +01:00
test_module
__init__.py
models.py
test_archive.py
test_autoreload.py Fixed #24149 -- Normalized tuple settings to lists. 2015-02-03 14:59:45 -05:00
test_baseconv.py Fixed #23812 -- Changed django.utils.six.moves.xrange imports to range 2014-12-13 12:45:58 -05:00
test_checksums.py Applied ignore_warnings to Django tests 2014-12-30 18:16:25 +01:00
test_crypto.py
test_datastructures.py
test_dateformat.py Fixed #21756 -- Skipped two timezone-related tests on Windows. 2014-01-12 09:41:57 +01:00
test_dateparse.py
test_datetime_safe.py Fixed #23998 -- Added datetime.time support to migrations questioner. 2014-12-22 07:24:54 -05:00
test_decorators.py
test_duration.py
test_encoding.py
test_feedgenerator.py Refactored code and tests that relied on django.utils.tzinfo. 2013-09-09 22:32:52 +02:00
test_functional.py
test_html.py
test_http.py
test_ipv6.py
test_itercompat.py
test_jslex.py
test_lazyobject.py
test_lorem_ipsum.py
test_module_loading.py Removed utils.module_loading.import_by_path() per deprecation timeline; refs #21674. 2015-01-18 12:51:15 -05:00
test_no_submodule.py
test_numberformat.py
test_os_utils.py Removed redundant numbered parameters from str.format(). 2014-12-03 14:27:38 -05:00
test_regex_helper.py Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
test_safestring.py
test_simplelazyobject.py
test_termcolors.py
test_text.py
test_timesince.py
test_timezone.py
test_tree.py