Skip to content

Commit

Permalink
CI: Catch EncodingWarnings only in pandas (#56093)
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke authored Nov 21, 2023
1 parent 6a8370e commit 1e1f53c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,9 @@ filterwarnings = [
"error::ResourceWarning",
"error::pytest.PytestUnraisableExceptionWarning",
# TODO(PY311-minimum): Specify EncodingWarning
"ignore:'encoding' argument not specified.::numpy",
# Ignore 3rd party EncodingWarning but raise on pandas'
"ignore:.*encoding.* argument not specified",
"error:.*encoding.* argument not specified::pandas",
"ignore:.*ssl.SSLSocket:pytest.PytestUnraisableExceptionWarning",
"ignore:.*ssl.SSLSocket:ResourceWarning",
# GH 44844: Can remove once minimum matplotlib version >= 3.7
Expand Down

0 comments on commit 1e1f53c

Please sign in to comment.