Opened 17 years ago
Closed 17 years ago
#5511 closed (invalid)
Some tests don't are "unicodized"
Reported by: | Manuel Saelices | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | 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
You only have to run this command:
$ find tests/ -name "models.py" -exec grep __str__ {} \; -print
Note:
See TracTickets
for help on using tickets.
That is intentional in a number of cases. It's also not bad in the other cases because they aren't returning non-ASCII data. That's one of the guarantees we made when introducing the Unicode changes, that stuff like that is safe. Until the need to be returning non-ASCII data, it's fine to leave them as
__str__
methods.