Fix #3743: Modernize deprecated test assertions in hydrogen bond tests#5400
Fix #3743: Modernize deprecated test assertions in hydrogen bond tests#5400ShivansGupta25 wants to merge 4 commits into
Conversation
|
@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
left a comment
There was a problem hiding this comment.
Blocking until relevant declarations are added back into the PR description.
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
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #5400 +/- ##
========================================
Coverage 93.85% 93.85%
========================================
Files 182 182
Lines 22509 22509
Branches 3202 3202
========================================
Hits 21125 21125
Misses 922 922
Partials 462 462 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.