diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-08 12:35:05 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-08 13:09:48 +0200 |
commit | 0166d75e7bf24da735bf15d951381c169053ed05 (patch) | |
tree | d3fc9a98066a3e7e04e51ee4ddb378d3d9224159 /dev-python/pydantic | |
parent | dev-python/pydantic: Enable pypy3 (diff) | |
download | gentoo-0166d75e7bf24da735bf15d951381c169053ed05.tar.gz gentoo-0166d75e7bf24da735bf15d951381c169053ed05.tar.bz2 gentoo-0166d75e7bf24da735bf15d951381c169053ed05.zip |
dev-python/pydantic: Fix test failures due to pytest plugins
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pydantic')
-rw-r--r-- | dev-python/pydantic/pydantic-1.9.0.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-python/pydantic/pydantic-1.9.0.ebuild b/dev-python/pydantic/pydantic-1.9.0.ebuild index 30c3c8a83e4c..45242111e134 100644 --- a/dev-python/pydantic/pydantic-1.9.0.ebuild +++ b/dev-python/pydantic/pydantic-1.9.0.ebuild @@ -35,6 +35,9 @@ src_prepare() { } python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock + local EPYTEST_DESELECT=( # flaky test, known upstream tests/test_hypothesis_plugin.py::test_can_construct_models_with_all_fields |