def freeze_includes():
    result = list(_iter_all_modules(py))
    result += list(_iter_all_modules(_pytest))
    return result
Returns a list of module names used by py.test that should be
dataset/ETHPy150Open pytest-dev/pytest/_pytest/genscript.py/freeze_includes