Fix test_pinned_twisted_version

This commit is contained in:
Adrián Chaves 2021-02-03 21:13:43 +01:00
parent 4c801551fa
commit 248800328c
1 changed files with 1 additions and 1 deletions

View File

@ -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]