Hello,

Here's another patchset for epytest:

1. Add support for using '--hypothesis-profile=gentoo' when
   hypothesis-gentoo is installed (to be added along with the patchset).
   This profile disables all health checks, i.e. lints that fail
   randomly depending on system load.

2. Fix EPYTEST_PLUGINS (the downstream variable) not to add '-p' options
   when the same plugin is already loaded via PYTEST_PLUGINS
   (the upstream variable), as otherwise it ends up being loaded twice
   and things explode.

3. Add EPYTEST_PLUGIN_LOAD_VIA_ENV to switch from using '-p' options
   (recommended in general) to using PYTEST_PLUGINS (needed mostly
   for testing pytest plugins themselves).



Michał Górny (4):
  python-utils-r1.eclass: epytest, support --hypothesis-profile=gentoo
  python-utils-r1.eclass: epytest, avoid dupes w/ PYTEST_PLUGINS
  python-utils-r1.eclass: Add EPYTEST_PLUGIN_LOAD_VIA_ENV
  dev-python/pytest-regressions: Use EPYTEST_PLUGIN_LOAD_VIA_ENV

 .../pytest-regressions-2.8.1.ebuild           |  3 +-
 eclass/python-utils-r1.eclass                 | 70 +++++++++++++++----
 2 files changed, 58 insertions(+), 15 deletions(-)


Reply via email to