Hi, this is not entirely correct as while '-k' can be used to skip specific tests with 'not <test>' it can also be used to only include tests matching a specific pattern (in both cases it is just matching the pattern given). It is probably better to rephrase it to something like "The `-k not <test>` flag can be used to skip running specific tests, but they are still collected.....".
Best, Ananthu On 31 October 2024 7:43:42 pm UTC, Soren Stoutner <so...@debian.org> wrote: >*The `'-k $exp'` command skips running the test, but the tests are still >included in the collection. This will cause failures if the tests have >includes that cannot be satisfied. In that case, the `--ignore` command can be >used instead, which skips adding the test to the collection. > >{{{ >export PYBUILD_TEST_ARGS=--ignore path/to/test.py >}}} >