Code

Opened 7 years ago

Closed 7 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

Attachments (0)

Change History (1)

comment:1 Changed 7 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.