python-coveralls
python-coveralls copied to clipboard
Unicode chars in source file
The json.dumps() in api.py blows up if there is a unicode char in one of the source files. My fork has a fix that works for me, but I didn't get a chance to update the tests.
Cool library.
Hi, could you write an example of broken code? I added this file and it just works
# coding=utf-8
EUR = "€"
def amount(tariff, currency=EUR):
return '{0} {1:.2f}'.format(currency, float(tariff))
Hey, sorry for the shitty bug report. I originally thought the issue was simpler than what it actually appears to be.
The file in question is dateutil/parser. The encoding is iso-8859-1. Not sure why someone would do that, but alas.
The broken Travis traceback is here.