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

Test for either ValueError or TypeError when loading scipy.sparse #95

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

oscarhiggott
Copy link
Owner

@oscarhiggott oscarhiggott commented Apr 25, 2024

As of scipy 1.13 loading a scipy.sparse matrix with an invalid input type can now raise a ValueError instead of a TypeError. Therefore this PR modifies the PyMatching tests to test that scipy taises either a TypeError or ValueError, rather than just the former. Most of the diff is just from running a formatter. This PR also removes the unnecessary universal2 wheels from cibuildwheel.

@oscarhiggott oscarhiggott merged commit 07d53bc into master Apr 25, 2024
37 checks passed
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.

1 participant