Fix #3743: Modernize deprecated test assertions in hydrogen bond tests#5400
Open
ShivansGupta25 wants to merge 2 commits into
Open
Fix #3743: Modernize deprecated test assertions in hydrogen bond tests#5400ShivansGupta25 wants to merge 2 commits into
ShivansGupta25 wants to merge 2 commits into
Conversation
Member
|
@ShivansGupta25 Thanks for opening this PR. However, before we can review we ask you put back and answer the AI declaration which was the in the PR template. |
IAlibay
requested changes
Jun 18, 2026
IAlibay
left a comment
Member
There was a problem hiding this comment.
Blocking until relevant declarations are added back into the PR description.
Author
I've restored and completed the AI declaration section. All changes were reviewed and tested locally. Thanks for pointing it out sir. |
814a445 to
cec6637
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Modernize test assertions in
test_hydrogenbonds_analysis.pyby replacing deprecated NumPy testing helpers with current testing practices.Changes
assert_almost_equalimport.assert_almost_equalassertions with more appropriate modern alternatives.numpy.testing.assert_allclosewhere applicable.Testing
Result:
AI Declaration
AI was used for:
All suggested changes were manually reviewed, verified, and tested by me before submission.