-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLN: collected cleanups, warning suppression in tests (#37021)
- Loading branch information
1 parent
1d59362
commit 8c25a0a
Showing
12 changed files
with
55 additions
and
43 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import pytest | ||
|
||
pytestmark = [ | ||
# fastparquet | ||
pytest.mark.filterwarnings( | ||
"ignore:PY_SSIZE_T_CLEAN will be required.*:DeprecationWarning" | ||
), | ||
# xlrd | ||
pytest.mark.filterwarnings( | ||
"ignore:This method will be removed in future versions:DeprecationWarning" | ||
), | ||
pytest.mark.filterwarnings( | ||
"ignore:This method will be removed in future versions. " | ||
r"Use 'tree.iter\(\)' or 'list\(tree.iter\(\)\)' instead." | ||
":PendingDeprecationWarning" | ||
), | ||
] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
import pytest | ||
|
||
pytestmark = pytest.mark.filterwarnings( | ||
# Looks like tree.getiterator is deprecated in favor of tree.iter | ||
"ignore:This method will be removed in future versions:PendingDeprecationWarning" | ||
) | ||
pytestmark = [ | ||
pytest.mark.filterwarnings( | ||
# Looks like tree.getiterator is deprecated in favor of tree.iter | ||
"ignore:This method will be removed in future versions:" | ||
"PendingDeprecationWarning" | ||
), | ||
pytest.mark.filterwarnings( | ||
"ignore:This method will be removed in future versions:DeprecationWarning" | ||
), | ||
] |
This file contains 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
This file contains 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