From f512b181c191b9d11e5b24d35df4672c8e0e7589 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 13 Sep 2022 19:52:14 +0200 Subject: [PATCH] - run tests with just built, not system wrapt --- python-wrapt.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-wrapt.spec b/python-wrapt.spec index 25d25cb..c7b314a 100644 --- a/python-wrapt.spec +++ b/python-wrapt.spec @@ -93,6 +93,7 @@ bardziej przewidywalne i spójne zachowanie. %if %{with tests} PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ +PYTHONPATH=$(echo $(pwd)/build-2/lib.*) \ %{__python} -m pytest tests %endif %endif @@ -102,6 +103,7 @@ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ %if %{with tests} PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ +PYTHONPATH=$(echo $(pwd)/build-3/lib.*) \ %{__python3} -m pytest tests %endif %endif -- 2.44.0