Skip to content

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

fix path to tox.ini

Matthew Donoughec85de908193a
diff --git a/tests/test_dependencies.py b/tests/test_dependencies.py
index 2558e4f91..74fdd966b 100644
--- a/tests/test_dependencies.py
+++ b/tests/test_dependencies.py
@@ -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.]+)'