Skip to content

clib.conversion.strings_to_ctypes_array: Add a doctest for numpy string array #3652

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

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

seisman
Copy link
Member

@seisman seisman commented Nov 26, 2024

The strings_to_ctypes_array function can accept a sequence of strings or a numpy array of strings, but passing numpy string array is not tested.

This PR adds a test for it.

@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog needs review This PR has higher priority and needs review. labels Nov 26, 2024
@seisman seisman added this to the 0.14.0 milestone Nov 26, 2024
@michaelgrund michaelgrund added final review call This PR requires final review and approval from a second reviewer and removed needs review This PR has higher priority and needs review. labels Nov 27, 2024
@seisman seisman merged commit 243b488 into main Nov 28, 2024
25 of 26 checks passed
@seisman seisman deleted the test/strings_to_ctypes_array branch November 28, 2024 02:52
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants