1
0
mirror of https://github.com/django/django.git synced 2025-01-26 18:19:18 +00:00
django/tests/utils_tests
Baptiste Mispelon 2c837233f5 Fixed #21574 -- Handle bytes consistently in utils.text.normalize_newlines.
All input is now coerced to text before being normalized.
This changes nothing under Python 2 but it allows bytes
to be passed to the function without a TypeError under Python3
(bytes are assumed to be utf-8 encoded text).

Thanks to trac user vajrasky for the report.
2013-12-12 16:09:12 +01:00
..
2013-10-10 16:49:20 -04:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-10-26 12:15:03 -07:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-10-26 12:15:03 -07:00
2013-11-03 10:08:55 -08:00
2013-11-02 23:48:47 -05:00