Skip to content

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

[httpcompression] minor style edits

Pawel Miechfb4ef21a1dcd
diff --git a/scrapy/downloadermiddlewares/httpcompression.py b/scrapy/downloadermiddlewares/httpcompression.py
index 2fc1bb8eb..19d6345e4 100644
--- a/scrapy/downloadermiddlewares/httpcompression.py
+++ b/scrapy/downloadermiddlewares/httpcompression.py
@@ -1,6 +1,5 @@
import zlib
-
from scrapy.utils.gz import gunzip, is_gzipped
from scrapy.http import Response, TextResponse
from scrapy.responsetypes import responsetypes
diff --git a/tests/requirements-py3.txt b/tests/requirements-py3.txt
index d73a2300f..51a25f5e5 100644
--- a/tests/requirements-py3.txt
+++ b/tests/requirements-py3.txt
@@ -8,4 +8,4 @@ botocore
# optional for shell wrapper tests
bpython
ipython
-brotlipy==0.6
+brotlipy
diff --git a/tests/requirements.txt b/tests/requirements.txt
index 9baa4be21..c1576a2e7 100644
--- a/tests/requirements.txt
+++ b/tests/requirements.txt
@@ -6,7 +6,7 @@ pytest==2.9.2
pytest-twisted
pytest-cov==2.2.1
jmespath
-brotlipy==0.6
+brotlipy
testfixtures
# optional for shell wrapper tests
bpython