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

Add tests of scalar type behavior #259

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Add tests of scalar type behavior #259

merged 1 commit into from
Jan 29, 2025

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jan 24, 2025

Add tests of scalar type behavior

This began as an experiment in making scalar types derive from higher up in the NumPy scalar type hierarchy (e.g. np.number), but this led to downstream errors. I backed-off on that change for now, but these tests are designed to catch the resulting problems more quickly.

@copybara-service copybara-service bot force-pushed the test_719426592 branch 8 times, most recently from 42fc0cb to 48474ce Compare January 27, 2025 18:59
@copybara-service copybara-service bot changed the title Experiment with making float/int types inherit from np.floating/np.integer. Make ml_dtypes scalar types inherit from np.number Jan 27, 2025
@copybara-service copybara-service bot force-pushed the test_719426592 branch 3 times, most recently from 79c477a to bcdad12 Compare January 28, 2025 21:15
@copybara-service copybara-service bot changed the title Make ml_dtypes scalar types inherit from np.number Add tests of scalar type behavior Jan 28, 2025
@copybara-service copybara-service bot force-pushed the test_719426592 branch 2 times, most recently from 134eeb6 to f155435 Compare January 29, 2025 00:52
This began as an experiment in making scalar types derive from higher up in the NumPy scalar type hierarchy (e.g. np.number), but this led to downstream errors. I backed-off on that change for now, but these tests are designed to catch the resulting problems more quickly.

PiperOrigin-RevId: 720754117
@copybara-service copybara-service bot merged commit ad2580b into main Jan 29, 2025
@copybara-service copybara-service bot deleted the test_719426592 branch January 29, 2025 00:53
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.

0 participants