nerevu / riko

A Python stream processing engine modeled after Yahoo! Pipes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Currency Format tests fail locally but not on Travis-CI

sottom opened this issue · 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.