Skip to content

Commit

Permalink
Add warnings filter for disutils deprecation
Browse files Browse the repository at this point in the history
Deprecated in 3.10, scheduled for removal in 3.12
  • Loading branch information
nicoddemus committed Mar 27, 2021
1 parent 05fe5fd commit 7930644
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Expand Up @@ -26,6 +26,8 @@ filterwarnings = [
# produced by older pyparsing<=2.2.0.
"default:Using or importing the ABCs:DeprecationWarning:pyparsing.*",
"default:the imp module is deprecated in favour of importlib:DeprecationWarning:nose.*",
# distutils is deprecated in 3.10, scheduled for removal in 3.12
"ignore:The distutils package is deprecated:DeprecationWarning",
# produced by python3.6/site.py itself (3.6.7 on Travis, could not trigger it with 3.6.8)."
"ignore:.*U.*mode is deprecated:DeprecationWarning:(?!(pytest|_pytest))",
# produced by pytest-xdist
Expand Down

0 comments on commit 7930644

Please sign in to comment.