summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Bishop <stuart@stuartbishop.net>2014-03-25 06:55:24 +0000
committerStuart Bishop <stuart@stuartbishop.net>2014-03-25 06:55:24 +0000
commitb5c6ac550eae61087adf50bc4fbb5882f7fcc807 (patch)
treec8c32c4cfa43be98219b142300212d0ba4686a73
parent69e3e5bdee858dbab92fa420ab92b536bc923b94 (diff)
downloadpytz-b5c6ac550eae61087adf50bc4fbb5882f7fcc807.tar.gz
Fix test error message
-rw-r--r--src/pytz/tests/test_tzinfo.py4
1 files 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)