repr-like function that takes any object

Bug #849843 reported by Jonathan Lange
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testtools
Triaged
Wishlist
Unassigned

Bug Description

In t.compat, we now have a function called text_repr() that takes any sort of text-like thing and turns it into printable unicode.

We should have a function that does the same thing, but works for any object. This would simplify some of the callsites to text_repr.

Tags: unicode
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.