Skip to content

Inconsistent --numprocesses description #1021

Closed
@Wovchena

Description

@Wovchena

pytest --help prints

With 'auto', attempt to detect physical CPU count. With 'logical', detect logical CPU count. If physical CPU count cannot be found, falls to logical count.

auto falls to logical for pytest-xdist version 3.5.0.

But https://pytest-xdist.readthedocs.io/en/stable/distribution.html states

Use -n logical to use the number of logical CPU cores rather than physical ones. This currently requires the psutil package to be installed; if it is not, pytest-xdist will fall back to -n auto behavior.

logical falls to auto

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions