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.
This commit is contained in:
Ran Benita 2020-11-06 22:26:25 +02:00
parent 3bcd316f07
commit 361f9e20c3
1 changed files with 0 additions and 1 deletions

View File

@ -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