Scrapy, a fast high-level web crawling & scraping framework for Python.
Address warnings from the VCS workflow (#7966)
Adrianc7ee394442da
diff --git a/pyproject.toml b/pyproject.tomlindex 5ec1d05a4..0bdcf6b51 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -319,6 +319,9 @@ markers = []filterwarnings = ["ignore::DeprecationWarning:twisted.web.static",+ # Jobs that do not report coverage disable it with --no-cov, which pytest-cov+ # warns about because the coverage options below stay in place.+ "ignore::pytest_cov.CovDisabledWarning",# Twisted doesn't close failed sockets after CannotListenError: https://github.com/twisted/twisted/issues/6108"ignore:Exception ignored in. <socket\\.socket.*laddr=..0\\.0\\.0\\.0., 0.:pytest.PytestUnraisableExceptionWarning",]diff --git a/tests/ignores.txt b/tests/ignores.txtindex 3717bbc95..5be8576f3 100644--- a/tests/ignores.txt+++ b/tests/ignores.txt@@ -1,3 +1,4 @@scrapy/core/downloader/handlers/http.pyscrapy/extensions/statsmailer.py+scrapy/interfaces.pyscrapy/mail.pydiff --git a/tests/test_utils_console.py b/tests/test_utils_console.pyindex 0dea8af6d..fe6a7a97a 100644--- a/tests/test_utils_console.py+++ b/tests/test_utils_console.py@@ -122,6 +122,11 @@ class TestIPythonShell:@pytest.mark.skipif(sys.platform == "win32", reason="requires a POSIX pseudo-terminal")+ # The child of the pseudo-terminal fork execs right away, so the deadlocks+ # that Python warns about cannot happen.+ @pytest.mark.filterwarnings(+ "ignore:.*is multi-threaded, use of forkpty:DeprecationWarning"+ )@pytest.mark.parametrize("script",[CONSOLE, CONSOLE_IN_RUNNING_LOOP],