module documentation

Undocumented

Function bare_venv Virtual env without any common packages installed
Function sample_project Clone the 'sampleproject' and return a path to it.
Function setuptools_sdist Undocumented
Function setuptools_wheel Undocumented
Function tmpdir_cwd Undocumented
Function user_override Override site.USER_BASE and site.USER_SITE with temporary directories in a context.
Function venv Virtual env with the version of setuptools under test installed
Function venv_without_setuptools Virtual env without any version of setuptools installed
Function workaround_xdist_376 Workaround pytest-dev/pytest-xdist#376
@pytest.fixture
def bare_venv(tmp_path): (source)

Virtual env without any common packages installed

@pytest.fixture
def sample_project(tmp_path): (source)

Clone the 'sampleproject' and return a path to it.

@pytest.fixture(scope='session')
def setuptools_sdist(tmp_path_factory, request): (source)

Undocumented

@pytest.fixture(scope='session')
def setuptools_wheel(tmp_path_factory, request): (source)

Undocumented

@pytest.fixture
def tmpdir_cwd(tmpdir): (source)

Undocumented

@pytest.fixture
def user_override(monkeypatch): (source)

Override site.USER_BASE and site.USER_SITE with temporary directories in a context.

@pytest.fixture
def venv(tmp_path, setuptools_wheel): (source)

Virtual env with the version of setuptools under test installed

@pytest.fixture
def venv_without_setuptools(tmp_path): (source)

Virtual env without any version of setuptools installed

@pytest.fixture(autouse=True, scope='session')
def workaround_xdist_376(request): (source)

Workaround pytest-dev/pytest-xdist#376 ``pytest-xdist`` tends to inject '' into ``sys.path``, which may break certain isolation expectations. Remove the entry so the import machinery behaves the same irrespective of xdist.