def get_testenv():
    """Return a OS environment dict suitable to fork processes that need to import
    this installation of Scrapy, instead of a system installed one.
    """
    env = os.environ.copy()
    env['PYTHONPATH'] = get_pythonpath()
    return env
Return a OS environment dict suitable to fork processes that need to import
    this installation of Scrapy, instead of a system installed one.
    
stackoverflow/venv/lib/python3.6/site-packages/scrapy/utils/test.py