Skip to content

Commit 361f9e2

Browse files
committed
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.
1 parent 3bcd316 commit 361f9e2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ filterwarnings = [
2626
# produced by older pyparsing<=2.2.0.
2727
"default:Using or importing the ABCs:DeprecationWarning:pyparsing.*",
2828
"default:the imp module is deprecated in favour of importlib:DeprecationWarning:nose.*",
29-
"ignore:Module already imported so cannot be rewritten:pytest.PytestWarning",
3029
# produced by python3.6/site.py itself (3.6.7 on Travis, could not trigger it with 3.6.8)."
3130
"ignore:.*U.*mode is deprecated:DeprecationWarning:(?!(pytest|_pytest))",
3231
# produced by pytest-xdist

0 commit comments

Comments
 (0)