Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 357884 Details for
Bug 482034
www-apps/trac-1.0.1 - migrate to distutils-r1.eclass
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/trac-1.0.1-changeset_11876.diff
trac-1.0.1-changeset_11876.diff (text/plain), 1.90 KB, created by
Bertrand Jacquin
on 2013-09-04 22:22:42 UTC
(
hide
)
Description:
files/trac-1.0.1-changeset_11876.diff
Filename:
MIME Type:
Creator:
Bertrand Jacquin
Created:
2013-09-04 22:22:42 UTC
Size:
1.90 KB
patch
obsolete
>------------------------------------------------------------------------ >r11876 | jomae | 2013-07-28 03:53:59 +0200 (Sun, 28 Jul 2013) | 2 lines > >1.0.2dev: fixed test failures due to differences of date/time formats between Babel 0.9.x (CLDR 1.6.x) and Babel 1.x (CLDR 23). (a part of #11258) > > >Index: trac/util/tests/datefmt.py >=================================================================== >--- trac/util/tests/datefmt.py (revision 11875) >+++ trac/util/tests/datefmt.py (revision 11876) >@@ -734,9 +734,9 @@ > tz = datefmt.timezone('GMT +2:00') > t = datetime.datetime(2010, 8, 28, 11, 45, 56, 123456, datefmt.utc) > en_US = Locale.parse('en_US') >- self.assertEqual('Aug 28, 2010 1:45:56 PM', >- datefmt.format_datetime(t, tzinfo=tz, >- locale=en_US)) >+ self.assert_(datefmt.format_datetime(t, tzinfo=tz, locale=en_US) >+ in ('Aug 28, 2010 1:45:56 PM', >+ 'Aug 28, 2010, 1:45:56 PM')) # CLDR 23 > en_GB = Locale.parse('en_GB') > self.assertEqual('28 Aug 2010 13:45:56', > datefmt.format_datetime(t, tzinfo=tz, >@@ -1022,8 +1022,9 @@ > en_US = Locale.parse('en_US') > > # Converting default format to babel's format >- self.assertEqual('Aug 28, 2010 1:45:56 PM', >- datefmt.format_datetime(t, '%x %X', tz, en_US)) >+ self.assert_(datefmt.format_datetime(t, '%x %X', tz, en_US) >+ in ('Aug 28, 2010 1:45:56 PM', >+ 'Aug 28, 2010, 1:45:56 PM')) # CLDR 23 > self.assertEqual('Aug 28, 2010', > datefmt.format_datetime(t, '%x', tz, en_US)) > self.assertEqual('1:45:56 PM', > >------------------------------------------------------------------------
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 482034
:
356648
|
356650
|
356652
|
357850
|
357858
|
357860
|
357862
|
357864
|
357866
|
357868
|
357870
|
357872
|
357874
|
357876
|
357878
|
357880
|
357882
| 357884 |
357886
|
357888
|
376934
|
377034
|
377036
|
377038