Skip to content

Andrew/test utils#398

Merged
ayjayt merged 79 commits into
masterfrom
andrew/test-utils
Sep 10, 2025
Merged

Andrew/test utils#398
ayjayt merged 79 commits into
masterfrom
andrew/test-utils

Conversation

@ayjayt
Copy link
Copy Markdown
Collaborator

@ayjayt ayjayt commented Aug 28, 2025

This adds some testing for some of the more complicated internal utilities.

@gvwilson gvwilson added feature something new P1 needs immediate attention testing automated tests labels Sep 9, 2025
Comment on lines +86 to +87
if not _assert_format(formatted_extension):
raise ValueError # this line will never be reached its for typer
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could this be just

Suggested change
if not _assert_format(formatted_extension):
raise ValueError # this line will never be reached its for typer
_assert_format(formatted_extension)

?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, but the typechecker doesn't realize whats happened in that case (and things the format is not asserted)

Copy link
Copy Markdown
Collaborator

@emilykl emilykl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@ayjayt ayjayt marked this pull request as ready for review September 10, 2025 16:49
@ayjayt ayjayt merged commit fc5486a into master Sep 10, 2025
4 checks passed
@ayjayt ayjayt deleted the andrew/test-utils branch September 15, 2025 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature something new P1 needs immediate attention testing automated tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants