Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Fix the skip message for test_download_gzip_response.

Andrey Rakhmatullin186f9d88acd9
diff --git a/tests/test_downloader_handlers.py b/tests/test_downloader_handlers.py
index 4d3c4d4aa..9f74577a5 100644
--- a/tests/test_downloader_handlers.py
+++ b/tests/test_downloader_handlers.py
@@ -634,7 +634,7 @@ class Http11MockServerTestCase(unittest.TestCase):
self.assertIsInstance(failure.value, defer.CancelledError)
# See issue https://twistedmatrix.com/trac/ticket/8175
- raise unittest.SkipTest("xpayload only enabled for PY2")
+ raise unittest.SkipTest("xpayload fails on PY3")
request.headers.setdefault(b'Accept-Encoding', b'gzip,deflate')
request = request.replace(url=self.mockserver.url('/xpayload'))
yield crawler.crawl(seed=request)