django/tests/utils_tests
Sjoerd Job Postmus e6d57c4d65 Fixed #30363 -- Do not use exponential notation for small decimal numbers.
In 9cc6a60040b0f64f8ea066dd215176d4bd16621d a security patch was
introduced to prevent allocating large segments of memory when a
very large or very small decimal number was to be formatted.

As a side-effect, there was a change in formatting of small decimal
numbers even when the `decimal_pos` argument was provided, which meant
that reasonable small decimal numbers (above 1e-199) would be formatted
as `0.00`, while smaller decimal numbers (under 1e-200) would be
formatted as `1e-200`.
2019-04-13 14:30:33 +02:00
..
archives Fixed #27628 -- Fixed unarchiving a file without permission data. 2016-12-28 19:14:58 -05:00
eggs
files Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
test_module Fixed #28241 -- Allowed module_has_submodule()'s module_name arg to be a dotted path. 2017-06-08 14:34:20 -04:00
__init__.py
models.py Refs #20094 -- Removed obsolete tests/utils_tests/test_itercompat.py 2017-04-26 10:54:06 -04:00
test_archive.py Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. 2017-01-20 08:01:02 -05:00
test_autoreload.py Cleaned up exception message checking in some tests. 2019-03-15 19:27:57 -04:00
test_baseconv.py Refs #28909 -- Simplifed code using unpacking generalizations. 2018-09-28 09:57:12 -04:00
test_crypto.py Used bytes.hex() and bytes.fromhex() to simplify. 2017-11-23 08:52:23 -05:00
test_datastructures.py Removed unneeded list() calls in sorted() argument. 2019-02-09 19:08:22 -05:00
test_dateformat.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_dateparse.py Fixed #30141 -- Fixed parse_duration() for some negative durations. 2019-02-23 18:54:09 -05:00
test_datetime_safe.py Refs #29600 -- Updated django.utils.datetime_safe now that Python 2 is unsupported. 2018-08-02 10:20:24 -04:00
test_decorators.py Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-01-19 08:39:46 +01:00
test_duration.py Fixed #28926 -- Fixed loss of precision of big DurationField values on SQLite and MySQL. 2017-12-28 17:35:41 -05:00
test_encoding.py Refs #27753 -- Favored force/smart_str() over force/smart_text(). 2019-02-06 14:12:06 -05:00
test_encoding_deprecations.py Refs #27753 -- Deprecated django.utils.encoding.force_text() and smart_text(). 2019-02-06 14:12:06 -05:00
test_feedgenerator.py Switched TestCase to SimpleTestCase where possible in Django's tests. 2018-11-27 08:58:44 -05:00
test_functional.py Fixed #30116 -- Dropped support for Python 3.5. 2019-01-30 10:19:48 -05:00
test_hashable.py Refs #29838 -- Fixed make_hashable() for values that have lists or dicts nested in tuples. 2018-10-17 11:17:50 -04:00
test_html.py Removed default mode='r' argument from calls to open(). 2019-01-27 17:41:43 -05:00
test_http.py Fixed #30264 -- Fixed crash of test_parsing_year_less_than_70() on 32-bit systems. 2019-03-20 13:44:30 +01:00
test_inspect.py Refs #29244 -- Fixed django.utils.inspect.method_has_no_args() for bound methods. 2018-08-07 17:37:35 -04:00
test_ipv6.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_jslex.py Refs #29784 -- Switched to https:// links where available. 2018-09-26 08:48:47 +02:00
test_lazyobject.py Fixed #29772 -- Made LazyObject proxy __lt__() and __gt__(). 2018-09-19 13:51:01 -04:00
test_lorem_ipsum.py Fixed #28306 -- Completed test coverage for django.utils.lorem_ipsum. 2017-09-02 15:50:43 -04:00
test_module_loading.py Switched TestCase to SimpleTestCase where possible in Django's tests. 2018-11-27 08:58:44 -05:00
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 Refs #27648 -- Removed support for (iLmsu) regex groups in url() patterns. 2017-09-22 12:51:18 -04:00
test_safestring.py Refs #27753 -- Favored SafeString over SafeText. 2019-02-06 14:12:06 -05:00
test_simplelazyobject.py Refs #23919 -- Removed misc references to Python 2. 2017-01-21 20:02:00 -05:00
test_termcolors.py Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
test_text.py Completed test coverage for utils.text._replace_entity(). 2019-01-23 19:33:21 -05:00
test_timesince.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_timezone.py Completed FixedOffset test coverage. 2018-10-09 20:32:08 -04:00
test_topological_sort.py Refs #30179 -- Moved topological sort functions to django.utils. 2019-02-25 15:44:49 -05:00
test_tree.py Fixed #29838 -- Fixed crash when combining Q objects with __in lookups and lists. 2018-10-17 11:34:49 -04:00