fix path to tox.ini

This commit is contained in:
Matthew Donoughe 2022-10-20 19:44:35 -04:00
parent 065db7b566
commit c85de90819
No known key found for this signature in database
GPG Key ID: 838812402CA8C19D
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class ScrapyUtilsTest(unittest.TestCase):
if not os.environ.get('_SCRAPY_PINNED', None):
self.skipTest('Not in a pinned environment')
tox_config_file_path = Path(__file__) / '..' / 'tox.ini'
tox_config_file_path = Path(__file__).parent / '..' / 'tox.ini'
config_parser = ConfigParser()
config_parser.read(tox_config_file_path)
pattern = r'Twisted\[http2\]==([\d.]+)'