From: Alex Morega Date: Fri, 5 Jul 2013 09:10:37 +0000 (+0200) Subject: czech data changed; update the test X-Git-Tag: 1.0~129^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80373f2496f7f231817f242ca05db4af8fb9a27c;p=thirdparty%2Fbabel.git czech data changed; update the test --- diff --git a/babel/tests/dates.py b/babel/tests/dates.py index 090de81b..e5da1b15 100644 --- a/babel/tests/dates.py +++ b/babel/tests/dates.py @@ -35,11 +35,11 @@ class DateTimeFormatTestCase(unittest.TestCase): self.assertEqual('Q4', fmt['QQQ']) def test_month_context(self): - d = date(2006, 1, 8) + d = date(2006, 2, 8) fmt = dates.DateTimeFormat(d, locale='cs_CZ') - self.assertEqual('1', fmt['MMM']) + self.assertEqual(u'2', fmt['MMMMM']) # narrow format fmt = dates.DateTimeFormat(d, locale='cs_CZ') - self.assertEqual('1.', fmt['LLL']) + self.assertEqual(u'ú', fmt['LLLLL']) # narrow standalone def test_abbreviated_month_alias(self): d = date(2006, 3, 8)