From 361f9e20c318ef3ce6b75fe0dbda0903c3fd9016 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Fri, 6 Nov 2020 22:26:25 +0200 Subject: [PATCH] testing: don't ignore "Module already imported so cannot be rewritten" warning The test suite passes without it being ignored. The absence of this warning cost me some head-scratching time, so enable it again. --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2b2543111..dd4be6c22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,6 @@ 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.*", - "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))", # produced by pytest-xdist