Opened 8 years ago

Closed 8 years ago

#5511 closed (invalid)

Some tests don't are "unicodized"

Reported by: msaelices Owned by: nobody
Component: Testing framework Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

You only have to run this command:

  $ find tests/ -name "models.py" -exec grep __str__ {} \; -print

Change History (1)

comment:1 Changed 8 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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.

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