You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For erroneous input I'd expect that parse_timedelta would raise a ValueError like in the docs (https://tempora.readthedocs.io/en/latest/#tempora.parse_timedelta). However I was able to trigger different types of exceptions which makes it difficult to handle errors properly.
For erroneous input I'd expect that
parse_timedelta
would raise aValueError
like in the docs (https://tempora.readthedocs.io/en/latest/#tempora.parse_timedelta). However I was able to trigger different types of exceptions which makes it difficult to handle errors properly.ValueError
as expected:TypeError
UnboundLocalError
Would it be possible to make the errors more consistent?
The text was updated successfully, but these errors were encountered: