SCRAPY_PINNED → _SCRAPY_PINNED

This commit is contained in:
Adrián Chaves 2020-11-23 23:53:03 +01:00
parent 0dc3e6350c
commit f6879c681e
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class ScrapyUtilsTest(unittest.TestCase):
See https://github.com/scrapy/scrapy/pull/4814#issuecomment-706230011
"""
if not os.environ.get('SCRAPY_PINNED', None):
if not os.environ.get('_SCRAPY_PINNED', None):
self.skipTest('Not in a pinned environment')
tox_config_file_path = os.path.join(

View File

@ -93,7 +93,7 @@ install_command =
# Twisted gets installed.
pip install --use-feature=2020-resolver {opts} {packages}
setenv =
SCRAPY_PINNED=true
_SCRAPY_PINNED=true
[testenv:pinned]
deps =