Skip to content

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

Fix test_pinned_twisted_version

Adrián Chaves248800328cb3
diff --git a/tests/test_dependencies.py b/tests/test_dependencies.py
index 93e7311d2..5e63ebffb 100644
--- a/tests/test_dependencies.py
+++ b/tests/test_dependencies.py
@@ -36,7 +36,7 @@ class ScrapyUtilsTest(unittest.TestCase):
)
config_parser = ConfigParser()
config_parser.read(tox_config_file_path)
- pattern = r'Twisted==([\d.]+)'
+ pattern = r'Twisted\[http2\]==([\d.]+)'
match = re.search(pattern, config_parser['pinned']['deps'])
pinned_twisted_version_string = match[1]