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

Pytest plain asserts #244

Merged
merged 2 commits into from
Jan 3, 2025
Merged

Pytest plain asserts #244

merged 2 commits into from
Jan 3, 2025

Conversation

bmaranville
Copy link
Member

There is a conflict between the most recent scipy version (1.15) and the assertion-rewrite feature of pytest at the moment. Until this is resolved, we can use plain assertions (no rewrite) with pytest.

The only impact is that failed assertion messages might be slightly less informative.

@bmaranville bmaranville merged commit af1182c into master Jan 3, 2025
12 checks passed
@bmaranville bmaranville deleted the pytest-plain-asserts branch January 3, 2025 20:51
@bmaranville
Copy link
Member Author

I think based on the analysis of the ticket that was done in the scipy repo, that we can set up our pytest to be more targeted (it seems we're testing the entire codebase of scipy and all our other dependencies at the moment) - and if we do that we can probably turn assert rewriting back on.

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.

2 participants