mirror of https://github.com/scrapy/scrapy.git
Fix test_pinned_twisted_version
This commit is contained in:
parent
4c801551fa
commit
248800328c
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue