diff options
author | Michael Twomey <michael.twomey@fieldaware.com> | 2014-02-26 11:33:13 +0000 |
---|---|---|
committer | Michael Twomey <michael.twomey@fieldaware.com> | 2014-02-26 11:33:13 +0000 |
commit | 1cb5ec82dc3534f0e6e2514a3822a387d112497d (patch) | |
tree | 9573e0c3c0a49ac44226fbb3e12c7a2f58644cb9 | |
parent | ac6ca2de48116c6a68c787c2cd7fdaedf2f80755 (diff) | |
download | pyiso8601-1cb5ec82dc3534f0e6e2514a3822a387d112497d.tar.gz |
Bumping to 0.1.9 and releasing.
-rw-r--r-- | README.rst | 6 | ||||
-rw-r--r-- | iso8601/test_iso8601.py | 1 | ||||
-rw-r--r-- | setup.py | 2 |
3 files changed, 8 insertions, 1 deletions
@@ -102,6 +102,12 @@ Python 2.5 is not supported (too old for the tests for the most part). It could Changes ======= +0.1.9 +----- + +* Lots of fixes tightening up parsing from jdanjou. In particular more invalid cases are treated as errors. Also includes fixes for tests (which is how these invalid cases got in in the first place). +* Release addresses https://bitbucket.org/micktwomey/pyiso8601/issue/13/new-release-based-on-critical-bug-fix + 0.1.8 ----- diff --git a/iso8601/test_iso8601.py b/iso8601/test_iso8601.py index 7f406b5..18e5ff0 100644 --- a/iso8601/test_iso8601.py +++ b/iso8601/test_iso8601.py @@ -39,6 +39,7 @@ def test_parse_utc_different_default(): ("20114-01-03T01:45:49", "Unable to parse date string"), ]) def test_parse_invalid_date(invalid_date, error_string): + assert isinstance(invalid_date, str) or invalid_date is None # Why? 'cos I've screwed up the parametrize before :) with pytest.raises(iso8601.ParseError) as exc: iso8601.parse_date(invalid_date) assert exc.errisinstance(iso8601.ParseError) @@ -9,7 +9,7 @@ long_description = open(os.path.join(os.path.dirname(__file__), "README.rst")).r setup( name="iso8601", - version="0.1.8", + version="0.1.9", description=long_description.split("\n")[0], long_description=long_description, author="Michael Twomey", |