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

Bug.warnings stochastic #2313

Merged
merged 3 commits into from Jan 30, 2024
Merged

Conversation

Ericgig
Copy link
Member

@Ericgig Ericgig commented Jan 30, 2024

Description
Fix failing test_stochastic.test_deprecation_warnings.
It used to catch the first warnings, the one we tested for, and stop.
An update in pytest, made it continue to catch another warning (step rounded to 0) later and failing.

This PR fix the test to raise only the desired warnings.
It add a warnings for when the step in rounded to 0 and a test for that warning.

@Ericgig Ericgig merged commit c3a1916 into qutip:master Jan 30, 2024
12 checks passed
@Ericgig Ericgig deleted the bug.warnings_stochastic branch January 30, 2024 22:02
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.

None yet

2 participants