diff options
author | Stuart Bishop <stuart@stuartbishop.net> | 2014-01-03 17:07:04 +0700 |
---|---|---|
committer | Stuart Bishop <stuart@stuartbishop.net> | 2014-01-03 17:07:04 +0700 |
commit | 4ed0cfa6d3ae3ba79bf4e8d3347b4c385fb405e7 (patch) | |
tree | 3ca79d79016780f9bfb0d909fa4a92ad82a0a188 /src | |
parent | 5b198c9ea0406f05c26d8050d06683f1ff32a663 (diff) | |
download | pytz-4ed0cfa6d3ae3ba79bf4e8d3347b4c385fb405e7.tar.gz |
Bump version numbers to 2013.9 and 2013irelease_2013.9
Diffstat (limited to 'src')
-rw-r--r-- | src/pytz/__init__.py | 4 | ||||
-rw-r--r-- | src/pytz/tests/test_tzinfo.py | 11 |
2 files changed, 10 insertions, 5 deletions
diff --git a/src/pytz/__init__.py b/src/pytz/__init__.py index 28fd08d..e63b0ff 100644 --- a/src/pytz/__init__.py +++ b/src/pytz/__init__.py @@ -9,8 +9,8 @@ on how to use these modules. ''' # The Olson database is updated several times a year. -OLSON_VERSION = '2013h' -VERSION = '2013.8' # Switching to pip compatible version numbering. +OLSON_VERSION = '2013i' +VERSION = '2013.9' # Switching to pip compatible version numbering. __version__ = VERSION OLSEN_VERSION = OLSON_VERSION # Old releases had this misspelling diff --git a/src/pytz/tests/test_tzinfo.py b/src/pytz/tests/test_tzinfo.py index 2823fbe..eff0b4e 100644 --- a/src/pytz/tests/test_tzinfo.py +++ b/src/pytz/tests/test_tzinfo.py @@ -21,7 +21,8 @@ from pytz.tzinfo import DstTzInfo, StaticTzInfo # I test for expected version to ensure the correct version of pytz is # actually being tested. -EXPECTED_VERSION='2013.8' +EXPECTED_VERSION='2013.9' +EXPECTED_OLSON_VERSION='2013i' fmt = '%Y-%m-%d %H:%M:%S %Z%z' @@ -64,8 +65,12 @@ class BasicTest(unittest.TestCase): self.assertEqual(EXPECTED_VERSION, pytz.__version__, 'Incorrect pytz version loaded. Import path is stuffed ' 'or this test needs updating. (Wanted %s, got %s)' - % (EXPECTED_VERSION, pytz.__version__) - ) + % (EXPECTED_VERSION, pytz.__version__)) + + 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__)) def testGMT(self): now = datetime.now(tz=GMT) |