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

Prevent string dtypes from being split into chars in pytest_helpers #123

Merged
merged 1 commit into from
May 23, 2022

Conversation

djl11
Copy link
Contributor

@djl11 djl11 commented May 21, 2022

For some frameworks, the data type might be represented as a string, which will then be incorrectly split into characters by the pytest helper. As an example, Ivy uses strings to represent dtypes such that a unified framework-agnostic representation can be used.

@honno honno self-requested a review May 21, 2022 23:52
Copy link
Member

@honno honno left a comment

Choose a reason for hiding this comment

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

Ah this is a funny interaction, yeah LGTM.

@honno honno merged commit 167b4f7 into data-apis:master May 23, 2022
@asmeurer
Copy link
Member

asmeurer commented May 23, 2022

Interesting to know that there is at least one library using strings for dtypes.

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.

3 participants