Skip to content

Actually raise exception#196

Merged
wimglenn merged 1 commit intor1chardj0n3s:masterfrom
shenanigansd:patch-1
Nov 16, 2024
Merged

Actually raise exception#196
wimglenn merged 1 commit intor1chardj0n3s:masterfrom
shenanigansd:patch-1

Conversation

@shenanigansd
Copy link
Copy Markdown
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
Copy Markdown
Contributor

Thanks for catching this!

@wimglenn
Copy link
Copy Markdown
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
@shenanigansd shenanigansd deleted the patch-1 branch November 16, 2024 03:18
@KRRT7
Copy link
Copy Markdown

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