From b5c6ac550eae61087adf50bc4fbb5882f7fcc807 Mon Sep 17 00:00:00 2001 From: Stuart Bishop Date: Tue, 25 Mar 2014 06:55:24 +0000 Subject: Fix test error message --- src/pytz/tests/test_tzinfo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pytz/tests/test_tzinfo.py b/src/pytz/tests/test_tzinfo.py index a25a0f3..7550272 100644 --- a/src/pytz/tests/test_tzinfo.py +++ b/src/pytz/tests/test_tzinfo.py @@ -22,7 +22,7 @@ from pytz.tzinfo import DstTzInfo, StaticTzInfo # I test for expected version to ensure the correct version of pytz is # actually being tested. EXPECTED_VERSION='2014.2' -EXPECTED_OLSON_VERSION='2014a' +EXPECTED_OLSON_VERSION='2014b' fmt = '%Y-%m-%d %H:%M:%S %Z%z' @@ -70,7 +70,7 @@ class BasicTest(unittest.TestCase): self.assertEqual(EXPECTED_OLSON_VERSION, pytz.OLSON_VERSION, 'Incorrect pytz version loaded. Import path is stuffed ' 'or this test needs updating. (Wanted %s, got %s)' - % (EXPECTED_VERSION, pytz.__version__)) + % (EXPECTED_OLSON_VERSION, pytz.OLSON_VERSION)) def testGMT(self): now = datetime.now(tz=GMT) -- cgit v1.2.1