riko icon indicating copy to clipboard operation
riko copied to clipboard

Currency Format tests fail locally but not on Travis-CI

Open sottom opened this issue 5 years ago • 0 comments

The format_currency function from Babel version 2.8.0 used in riko's currencyformat.py returns a \xa0 byte character after the currency symbol locally, but not on Travis-CI

(e.g. $\xa010.33 is returned locally, but $10.33 is returned remotely on Travis-CI)

This causes tests to fail either locally or on Travis depending on which value you check for (with or without the \xa0 NO_BREAK_SPACE character).

This is strange behavior that needs looking into.

sottom avatar Jun 03 '20 15:06 sottom