Fix unicode encode errors on Python 2 -- Fixes #215

Switch csv library to backports.csv as the implementation
is closer to the python 3 one. Add a test case covering the
problem.

Run tests with unicode_literals from future

Fix unicode encode errors with unicode characters

- Use `backports.csv` instead of `unicodecsv`
- Use StringIO instead of cStringIO
- Clean-up some Python 2 specific code
This commit is contained in:
Bruno Alla
2017-01-12 09:49:45 +00:00
parent 05bd0d1d42
commit 80e72cfa27
6 changed files with 22 additions and 18 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ packages = [
install = [
'odfpy',
'openpyxl',
'unicodecsv',
'backports.csv',
'xlrd',
'xlwt',
'pyyaml',