From 6a863baf8f57da87e276122e0f34ea07d366fa14 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 14 Nov 2019 03:11:59 +0100 Subject: [PATCH] try-ignore PendingDeprecationWarning --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index dd246daa9e4..eb22846ae74 100644 --- a/tox.ini +++ b/tox.ini @@ -147,6 +147,7 @@ filterwarnings = error default:Using or importing the ABCs:DeprecationWarning:unittest2.* default:the imp module is deprecated in favour of importlib:DeprecationWarning:nose.* + default:the imp module is deprecated in favour of importlib:PendingDeprecationWarning:imp.* ignore:Module already imported so cannot be rewritten:pytest.PytestWarning # 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))