Skip to content

Conversation

@shubhammittal2241
Copy link

@shubhammittal2241 shubhammittal2241 commented Dec 9, 2025

This PR updates deprecated NumPy testing functions in test_gnm.py:

  • Replaces assert_almost_equal and assert_array_almost_equal with numpy.testing.assert_allclose
  • Uses pytest.approx for scalar floating point comparisons
  • Preserves existing tolerances and test behavior
  • All tests pass locally

Contributes to issue #3743.

Added myself to package/AUTHORS as a first-time contributor.


📚 Documentation preview 📚: https://mdanalysis--5175.org.readthedocs.build/en/5175/

@shubhammittal2241 shubhammittal2241 marked this pull request as draft December 10, 2025 04:33
@shubhammittal2241 shubhammittal2241 closed this by deleting the head repository Dec 10, 2025
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.

1 participant