1
0
mirror of https://github.com/django/django.git synced 2025-03-10 09:22:46 +00:00
Aymeric Augustin 5c5eb5fea4 Fixed an inconsistency introduced in 547b1810.
mark_safe and mark_for_escaping should have been kept similar.

On Python 2 this change has no effect. On Python 3 it fixes the use case
shown in the regression test for mark_for_escaping, which used to raise
a TypeError. The regression test for mark_safe is just for completeness.
2014-12-27 17:44:54 +01:00
..
2014-10-22 21:21:02 -04:00
2013-12-24 12:25:17 +01:00
2014-10-08 18:10:50 -04:00
2014-10-08 05:11:09 +07:00
2014-08-18 13:44:10 -04:00
2014-12-06 12:06:06 -05:00
2013-12-24 12:25:17 +01:00
2014-12-15 18:15:55 -05:00

To run the test suite::

    $ cd tests
    $ pip install -r requirements/py3.txt  # or py2.txt
    $ PYTHONPATH=..:$PYTHONPATH ./runtests.py

For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.