commit | 19c10caaa41be087d0bed42a3654eaf8541164f9 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Tue Nov 13 18:01:37 2001 +0000 |
committer | Barry Warsaw <barry@python.org> | Tue Nov 13 18:01:37 2001 +0000 |
tree | dde4b3e86e5252a0062ed50c9a10712e1ffe5070 | |
parent | 4a106ee9e1551fc12c9a767b660c6cdf7b5d9823 [diff] [blame] |
Add tests for bug #478115, parsedate_tz() IndexError when a Date: field exists with an empty value.
diff --git a/Lib/test/test_email.py b/Lib/test/test_email.py index 6a66199..37ddc30 100644 --- a/Lib/test/test_email.py +++ b/Lib/test/test_email.py
@@ -937,6 +937,9 @@ toff = time.timezone self.assertEqual(offset, toff) + def test_parsedate(self): + self.assertEqual(Utils.parsedate(''), None) + # Test the iterator/generators