Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isoparse: Fail with inconsistent time separators #1125

Merged
merged 2 commits into from
Jul 2, 2021

Commits on May 19, 2021

  1. isoparse: Fail with inconsistent time separators

    Fail when separators are used inconsistently to split the time porting
    of a string. Even if more restrictive, we have warned that we were going
    to fail on invalid cases of ISO formatted strings. This will prevent
    invalid iso formatted strings from being unexpectedly parsed.
    mariocj89 committed May 19, 2021
    Configuration menu
    Copy the full SHA
    34906dc View commit details
    Browse the repository at this point in the history
  2. tests: Fix typo in test_isotime_raises

    The test was meant to validate `parse_isodate` but was using
    `parse_isotime` instead. Move the test case to the list validating
    invalid formats.
    mariocj89 committed May 19, 2021
    Configuration menu
    Copy the full SHA
    aa62cdc View commit details
    Browse the repository at this point in the history