You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/mathieu/olympia/apps/addons/tests/test_models.py", line 529, in test_foobar
assert not foo
File "/Users/mathieu/.virtualenvs/olympia/lib/python2.7/site-packages/_pytest/assertion/util.py", line 33, in format_explanation
return u('\n').join(result)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11: ordinal not in range(128)
result is ['assert not \xc3\xa9']. I believe that python's default encoding used to decode from str to unicode is ascii, which fails while decoding the utf-8 encoded object representation.