Closed ammirate closed 4 years ago
After some investigation, I found out that the test test_imprints_from_260__c_wrong_date
fails due to tuple index out of range
that happens in dateutil/parser/_parser.py
when the parser tries to parse the date 2014-00
, fails because the month is 0 and tries to raise a ParserError
using the element 0 from e.args
where e
is the previous exception and args
is an empty tuple.
I'll xfail that, as well as test_normalize_date_aggressively_strips_wrong_month
that fails for the same reason.
that's not the correct solution, you can add to the exceptions that's caught in normalize_date_aggressively
.
IMO, that's not a solution but a workaround. It's good enough though, so it's ok.
Signed-off-by: Antonio Cesarano cesarano2607@gmail.comk