Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Currency Format tests fail locally but not on Travis-CI #50

Open
sottom opened this issue Jun 3, 2020 · 0 comments
Open

Currency Format tests fail locally but not on Travis-CI #50

sottom opened this issue Jun 3, 2020 · 0 comments
Labels

Comments

@sottom
Copy link
Collaborator

sottom commented Jun 3, 2020

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 sottom added the bug label Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant