Skip to content

TST: Ignore/filter more test warnings#64461

Draft
mroeschke wants to merge 12 commits intopandas-dev:mainfrom
mroeschke:ci/warnings/errors
Draft

TST: Ignore/filter more test warnings#64461
mroeschke wants to merge 12 commits intopandas-dev:mainfrom
mroeschke:ci/warnings/errors

Conversation

@mroeschke
Copy link
Member

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.
  • I have reviewed and followed all the contribution guidelines
  • If I used AI to develop this pull request, I prompted it to follow AGENTS.md.

Precursor to set Python warnings as errors in our test suite.

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Mar 7, 2026
@pytest.mark.slow
@pytest.mark.filterwarnings(
"ignore:invalid value encountered in dot:RuntimeWarning"
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i noticed this one recently too. no chance these are pointing to an actual issue? or that we should filter in the non-test code?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing obvious stood out to me. Since this comes from Matplotlib calling np.dot, there might be an argument Matplotlib need to adjust a calculation or suppress the warnning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Testing pandas testing functions or related to the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants