diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-07-05 08:31:02 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-07-12 07:05:19 +0200 |
| commit | ec67342e2635049fcba3755a0efaab3e02bbbecc (patch) | |
| tree | edc05d984b87aac0b04c0b4222057b853ded38cf /dev-python | |
| parent | 394e3796c6324436920b4406006d23e043d69204 (diff) | |
| download | gentoo-ec67342e2635049fcba3755a0efaab3e02bbbecc.tar.gz gentoo-ec67342e2635049fcba3755a0efaab3e02bbbecc.tar.bz2 gentoo-ec67342e2635049fcba3755a0efaab3e02bbbecc.zip | |
python-utils-r1.eclass: Add EPYTEST_PLUGIN_LOAD_VIA_ENV
Add an `EPYTEST_PLUGIN_LOAD_VIA_ENV` option to explicitly load plugins
via `PYTEST_PLUGINS` environment variable rather than `-p` options.
This is useful for testing pytest plugins.
While the use case is not very common and therefore may not deserve
explicit eclass support, the value of `PYTEST_PLUGINS` consists
of Python import names that are not trivial to find and have
historically changed across package versions.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/42876
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
0 files changed, 0 insertions, 0 deletions
