New review comment by ndowens on void-packages repository https://github.com/void-linux/void-packages/pull/27050#discussion_r539660709 Comment: > The automatic `pytest` option was just committed, so you will have to rebase to see it. > > In general, you want to run `python3 -m pytest` rather than calling `pytest` directly. When run directly, the current working directory does not appear in the `PYTHONPATH`; when run as a module, the current working directory is the first entry in `PYTHONPATH`. This difference is enough to make a lot of tests run without further modification. > > Otherwise, you can look at overriding PYTHONPATH or investigate some of the options to pytest; the automatic behavior uses `$make_check_args` and `$make_check_target` to allow you to customize to some extent without requiring you to define the function. Thanks for the explanation