mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
Updates accents on céntimos in Spanish (#240)
* Updates accents on céntimos in Spanish * Update test_es.py * Update test_es.py * fix tests * fix encoding * Update tox.ini * Update test_cli.py * Update test_cli.py * Update test_cli.py * Update lang_AR.py flake-8 compliant * Update test_cli.py flake8 compliant * Update test_cli.py * Update test_cli.py
This commit is contained in:
committed by
Ernesto Rodriguez Ortiz
parent
aa9b882fe6
commit
eef5b03593
@@ -106,6 +106,7 @@ class CliTestCase(unittest.TestCase):
|
||||
output = self.cli.run_cmd(150.55, '--lang', 'es', '--to', 'currency')
|
||||
self.assertEqual(output.return_code, 0)
|
||||
self.assertEqual(
|
||||
output.out.strip(),
|
||||
"ciento cincuenta euros con cincuenta y cinco centimos"
|
||||
(output.out.decode('utf-8') if hasattr(output.out, 'decode') else
|
||||
output.out).strip(),
|
||||
"ciento cincuenta euros con cincuenta y cinco céntimos"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user