Skip to content

Ignore expected warnings during testing#1065

Merged
mhucka merged 5 commits intomasterfrom
mh-ignore-some-warnings
Jun 4, 2025
Merged

Ignore expected warnings during testing#1065
mhucka merged 5 commits intomasterfrom
mh-ignore-some-warnings

Conversation

@mhucka
Copy link
Contributor

@mhucka mhucka commented Jun 3, 2025

A few test cases produce RuntimeWarning's. These turn out to be expected. We can indicate to pytest that they can be ignored.

mhucka added 3 commits June 3, 2025 13:00
A few test cases produce `RuntimeWarning`'s. These turn out to be
expected. We can indicate to pytest that they can be ignored.
@mhucka mhucka mentioned this pull request Jun 3, 2025
@mhucka mhucka requested review from dstrain115 and ncrubin June 3, 2025 20:57
After black reformatted the code, some strings that I had put on separate lines (to use implicit concatenation) now were on the same line. The strings may as well be merged now into single strings.
@mhucka mhucka enabled auto-merge June 4, 2025 15:32
@mhucka mhucka added this pull request to the merge queue Jun 4, 2025
Merged via the queue into master with commit c58c47c Jun 4, 2025
29 checks passed
@mhucka mhucka deleted the mh-ignore-some-warnings branch June 4, 2025 15:43
mhucka added a commit to mhucka/OpenFermion that referenced this pull request Sep 25, 2025
A few test cases produce `RuntimeWarning`'s. These turn out to be
expected. We can indicate to pytest that they can be ignored.
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