Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#21185 closed Bug (fixed)

django.utils.text.unescape_entities has no tests

Reported by: Baptiste Mispelon Owned by: Baptiste Mispelon
Component: Utilities Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This was reported by user brutasse on IRC.

Additionally, unescape_entities uses the builtin unichr which doesn't exists under python3 (it should be imported through six).

Change History (3)

comment:1 by Baptiste Mispelon <bmispelon@…>, 11 years ago

Resolution: fixed
Status: newclosed

In 3754f4ad410640382f9fe25073da03009cdc2ea3:

Fix #21185: Added tests for unescape_entities.

Also fixed a py3 incompatibility.
Thanks to brutasse for the report.

comment:2 by Baptiste Mispelon <bmispelon@…>, 11 years ago

In 15bdc85117785d583b9ae71d256929a431478f4c:

[1.6.x] Fix #21185: Added tests for unescape_entities.

Also fixed a py3 incompatibility.
Thanks to brutasse for the report.

Backport of 3754f4ad410640382f9fe25073da03009cdc2ea3 from master.

comment:3 by Baptiste Mispelon <bmispelon@…>, 11 years ago

In 73ffe26816738c15515e5764e96c056f0d98559a:

[1.5.x] Fix #21185: Added tests for unescape_entities.

Also fixed a py3 incompatibility.
Thanks to brutasse for the report.

Backport of 3754f4ad410640382f9fe25073da03009cdc2ea3 from master.

Note: See TracTickets for help on using tickets.
Back to Top