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

Actually raise exception #196

Merged
merged 1 commit into from
Nov 16, 2024
Merged

Conversation

shenanigansd
Copy link
Contributor

Hello from https://www.pythondiscord.com/ 👋🏻
We had someone come into our Discord server today asking if this was correct.
Looks like it's missing a raise, so here's a quick PR.

@bendichter
Copy link
Contributor

Thanks for catching this!

@wimglenn
Copy link
Collaborator

Yes thanks, this does look like an oversight and test coverage miss. I wonder if the branch is actually reachable (without calling strf_date_convert directly, of course).

@wimglenn wimglenn merged commit 30da9e4 into r1chardj0n3s:master Nov 16, 2024
20 checks passed
@shenanigansd shenanigansd deleted the patch-1 branch November 16, 2024 03:18
@KRRT7
Copy link

KRRT7 commented Nov 24, 2024

Hi, sorry to revive this thread, but Bradley (@shenanigansd ) let me know this got merged. I hesitated to open the PR myself after a previous one was rejected due to my carelessness, so Brad kindly contributed it on my behalf. Originally, I was checking in the Python Discord about whether the exception should be raised, and Bradley helpfully sanity checked me on this, found the issue here
i will make sure my future PRs are more sound.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants