From: Alex Morega Date: Fri, 5 Jul 2013 08:56:55 +0000 (+0200) Subject: remove duplicated test X-Git-Tag: 1.0~129^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=13e655b2d897eaf3f388270c7c8b00a3e09d1095;p=thirdparty%2Fbabel.git remove duplicated test how did this ever pass? two tests with same setup and different assertion?! --- diff --git a/babel/tests/dates.py b/babel/tests/dates.py index 8ebecb77..120ac515 100644 --- a/babel/tests/dates.py +++ b/babel/tests/dates.py @@ -188,18 +188,12 @@ class DateTimeFormatTestCase(unittest.TestCase): fmt = dates.DateTimeFormat(t, locale='de_DE') self.assertEqual('GMT+01:00', fmt['ZZZZ']) - def test_timezone_no_uncommon(self): + def test_timezone_name(self): tz = timezone('Europe/Paris') dt = datetime(2007, 4, 1, 15, 30, tzinfo=tz) fmt = dates.DateTimeFormat(dt, locale='fr_CA') self.assertEqual('France', fmt['v']) - def test_timezone_with_uncommon(self): - tz = timezone('Europe/Paris') - dt = datetime(2007, 4, 1, 15, 30, tzinfo=tz) - fmt = dates.DateTimeFormat(dt, locale='fr_CA') - self.assertEqual('HEC', fmt['V']) - def test_timezone_location_format(self): tz = timezone('Europe/Paris') dt = datetime(2007, 4, 1, 15, 30, tzinfo=tz)