Skip to content
This repository has been archived by the owner on Aug 27, 2020. It is now read-only.

Fail tests: test_basics, test_custom_locale_selector, test_init_app #23

Open
pva opened this issue Feb 26, 2020 · 0 comments
Open

Fail tests: test_basics, test_custom_locale_selector, test_init_app #23

pva opened this issue Feb 26, 2020 · 0 comments

Comments

@pva
Copy link

pva commented Feb 26, 2020

Tests fail with the following error:

>>> Test phase: dev-python/flask-babelex-0.9.4
 * python3_6: running distutils-r1_run_phase python_test
F.FF............/usr/lib64/python3.6/site-packages/babel/numbers.py:352: DeprecationWarning: Use babel.numbers.format_decimal() instead.
  warnings.warn('Use babel.numbers.format_decimal() instead.', DeprecationWarning)
.
======================================================================
FAIL: test_basics (__main__.DateFormattingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests.py", line 38, in test_basics
    '12. April 2010 15:46:00 MESZ'
AssertionError

======================================================================
FAIL: test_custom_locale_selector (__main__.DateFormattingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests.py", line 98, in test_custom_locale_selector
    assert babel.format_datetime(d) == '12.04.2010 15:46:00'
AssertionError

======================================================================
FAIL: test_init_app (__main__.DateFormattingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests.py", line 60, in test_init_app
    '12. April 2010 15:46:00 MESZ'
AssertionError

----------------------------------------------------------------------
Ran 17 tests in 0.222s

FAILED (failures=3)

Software versions:

  • dev-python/flask-babelex-0.9.4
  • dev-python/Babel-2.8.0
  • dev-lang/python-3.6.9

The following patch fixes a problem:
https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/flask-babelex/files/flask-babelex-0.9.3-tests-fix.patch?id=cc3811adf78b83af1cc2e27a893eae26fc9fc8ad

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant