candlepin/subscription-manager — pull request #326 by alikins (2012-10-08 18:34:31+00:00)
Title: 844072: remove use and dep of PyXML

PyXML is deprecated in Fedora, so remove it.
Only use of pyxml was for it's iso8601 date parsing,
so replace it's usage with dateutil (and require
that now).

dateutil.parser.parse() behaviour is slightly different,
especially for year 2038 issues. Dateutil handles this
better at least till year 9999, so update test cases
for those cases.

Note: previous parseDate was actually incorrect for cases
where the server returned iso8601 dates with a tz (instead
of UTC). This doesn't seem to matter because the server
always returns iso8601 dates with UTC tz. Updated
test cases for this scenario.