deselected

The count pytest reports for tests that were collected but left out of this run by a -k or -m selection.

In more detail

Deselected is different from skipped: the tests were never considered part of the run, so their result says nothing about them. The summary line reports them separately, for example 1 passed, 2 deselected.

Related terms

Taught in

References