review/tests/sample_data_latin1.py @ 638009474a3b
api: Don't crash if the diff has no lines (in case of merge for instance)
| author | Benoît Allard <benoit@aeteurope.nl> |
|---|---|
| date | Mon, 23 Jan 2012 15:01:27 +0100 |
| parents | cada9aab8b6f |
| children | (none) |
# coding=utf-8 # log = [ # TODO: Figure out how to make this work. # I hate you, Python. #{ u'filé'.encode('latin-1'): u'oné\ntwó\nthrée'.encode('latin-1'), }, #{ u'filé'.encode('latin-1'): u'óne\ntwo\nthreé'.encode('latin-1'), }, { u'file'.encode('latin-1'): u'oné\ntwó\nthrée'.encode('latin-1'), }, { u'file'.encode('latin-1'): u'óne\ntwo\nthreé'.encode('latin-1'), }, ]