summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@rd.io>2012-10-24 15:53:00 -0700
committerAlex Gaynor <alex.gaynor@rd.io>2012-10-24 15:53:00 -0700
commitce1eb320e59b577a600eb84d7f423a1897be3576 (patch)
treead1875003e264d7ff15e5815df42716a7234ffbe /tests
parentda958eb2098372c20cc3aaf905777b1a8d3144eb (diff)
Remove a case that is no longer reachable in encodings.py.
This case was originally designed to handle Exception's which didn't gracefully support coercing themselves to unicode. However, because it lives in the `else` case of `if hasattr(s, '__unicode__'):` we can be sure it's no longer reachable in djanog anymore, because since Python 2.5 exception has subclassed object, which means Exception objects always have an __unicode__ method.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions