summaryrefslogtreecommitdiff
path: root/src/isodate/tests/__init__.py
diff options
context:
space:
mode:
authorAdrian Coveney <adrian.coveney@stfc.ac.uk>2014-08-19 14:33:21 +0100
committerAdrian Coveney <adrian.coveney@stfc.ac.uk>2014-08-19 15:02:34 +0100
commit343fcaee01b3908ded45f2c28e8e1a00d839ad5f (patch)
treeec23b856017f155e890dddd8894f1f0f55c01c1d /src/isodate/tests/__init__.py
parent0f2e76b427d039bbc82f18b545f74db66d1c35c0 (diff)
downloadisodate-343fcaee01b3908ded45f2c28e8e1a00d839ad5f.tar.gz
Make parse_datetime raise ISO8601Error if no 'T'
- Make parse_datetime raise ISO8601Error if time designator 'T' is missing as before it would raise a ValueError that was hard to interpret. - Alter test_parse for test_datetime to check that bad inputs raise an ISO8601 error. The other tests did this, but test_datetime didn't. - Add test case where the 'T' time designator is missing from input datetime strings.
Diffstat (limited to 'src/isodate/tests/__init__.py')
0 files changed, 0 insertions, 0 deletions