Modify ↓
Opened 9 years ago
Closed 9 years ago
#12302 closed defect (fixed)
Unit test breakages with Babel 2.2.0
Reported by: | Jun Omae | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.10 |
Component: | i18n | Version: | 1.0-stable |
Severity: | normal | Keywords: | babel22 |
Cc: | Branch: | ||
Release Notes: |
Fix unit test breakages with Babel 2.2.0. |
||
API Changes: | |||
Internal Changes: |
Description (last modified by )
The root cause is update to CLDR 28 in Babel 2.2.0.
Package Version ------------------------------------------------------------------ Python : 2.7.3 (default, Jun 22 2015, 19:33:41) [GCC 4.6.3] Setuptools : 0.6 Genshi : 0.6 Babel : 2.2.0 sqlite3 : 2.6.0 (3.7.9) PySqlite : not installed MySQLdb : not installed Psycopg2 : not installed SVN bindings : not installed Mercurial : not installed Pygments : not installed Textile : not installed Pytz : 2015.7 ConfigObj : not installed Docutils : not installed Twill : not installed LXML : not installed coverage : not installed figleaf : not installed Variables: PATH=/dev/shm/babel-2.2/bin::$PATH PYTHONPATH=.::$PYTHONPATH TRAC_TEST_DB_URI= server-options= -p 3000 -a '*,/home/jun66j5/src/trac-htdigest.txt,auth' -e External dependencies: Git version: git version 1.7.9.5 python setup.py egg_info running egg_info writing requirements to Trac.egg-info/requires.txt writing Trac.egg-info/PKG-INFO writing top-level names to Trac.egg-info/top_level.txt writing dependency_links to Trac.egg-info/dependency_links.txt writing entry points to Trac.egg-info/entry_points.txt reading manifest file 'Trac.egg-info/SOURCES.txt' writing manifest file 'Trac.egg-info/SOURCES.txt' python ./trac/test.py --skip-functional-tests SKIP: fine-grained permission tests (ConfigObj not installed) SKIP: mimeview/tests/pygments (no pygments installed) SKIP: trac.versioncontrol.web_ui.tests.browser.BrowserModulePermissionsTestCase (no configobj installed) SKIP: tracopt/perm/tests/authz_policy.py (no configobj installed) SKIP: tracopt/versioncontrol/svn/tests/svn_fs.py (no svn bindings) .... ====================================================================== FAIL: test_i18n_date_hint (trac.util.tests.datefmt.I18nDateFormatTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/jun66j5/src/tracdev/git/trac/util/tests/datefmt.py", line 961, in test_i18n_date_hint ('dd-MM-yyyy', 'dd-MM-y')) AssertionError: u'd MMM, y' not found in ('dd-MM-yyyy', 'dd-MM-y') ====================================================================== FAIL: test_i18n_datetime_hint (trac.util.tests.datefmt.I18nDateFormatTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/jun66j5/src/tracdev/git/trac/util/tests/datefmt.py", line 935, in test_i18n_datetime_hint ('d MMM yyyy HH:mm:ss', 'd MMM y HH:mm:ss')) AssertionError: u'd MMM y, HH:mm:ss' not found in ('d MMM yyyy HH:mm:ss', 'd MMM y HH:mm:ss') ====================================================================== FAIL: test_i18n_format_date (trac.util.tests.datefmt.I18nDateFormatTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/jun66j5/src/tracdev/git/trac/util/tests/datefmt.py", line 896, in test_i18n_format_date datefmt.format_date(t, tzinfo=tz, locale=vi)) AssertionError: u'07-08-2010' != u'7 thg 8, 2010' - 07-08-2010 + 7 thg 8, 2010 ====================================================================== FAIL: test_i18n_format_datetime (trac.util.tests.datefmt.I18nDateFormatTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/jun66j5/src/tracdev/git/trac/util/tests/datefmt.py", line 864, in test_i18n_format_datetime locale=en_GB)) AssertionError: '28 Aug 2010 13:45:56' != u'28 Aug 2010, 13:45:56' ---------------------------------------------------------------------- Ran 1567 tests in 24.575s FAILED (failures=4) make: *** [unit-test] Error 1
Attachments (0)
Change History (3)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
Owner: | set to |
---|---|
Release Notes: | modified (diff) |
Status: | new → assigned |
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in [14421] and merged to trunk in [14422].