From 6f8db40dc95a52e32d98c59c5badf62176d005e4 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 17 Mar 2022 19:51:28 +0100 Subject: [PATCH] - disable pytest plugins --- python-sphinxcontrib-apidoc.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-sphinxcontrib-apidoc.spec b/python-sphinxcontrib-apidoc.spec index ad4966e..63dceb0 100644 --- a/python-sphinxcontrib-apidoc.spec +++ b/python-sphinxcontrib-apidoc.spec @@ -79,6 +79,7 @@ API. %py_build %if %{with tests} +PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ %{__python} -m pytest tests %endif %endif @@ -87,6 +88,7 @@ API. %py3_build %if %{with tests} +PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ %{__python3} -m pytest tests %endif %endif -- 2.44.0